summaryrefslogtreecommitdiff
path: root/helix-core/src/position.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core/src/position.rs')
-rw-r--r--helix-core/src/position.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/position.rs b/helix-core/src/position.rs
index 346779b0..3d85ff2f 100644
--- a/helix-core/src/position.rs
+++ b/helix-core/src/position.rs
@@ -37,7 +37,7 @@ impl Position {
impl From<(usize, usize)> for Position {
fn from(tuple: (usize, usize)) -> Self {
- Position {
+ Self {
row: tuple.0,
col: tuple.1,
}