diff options
author | Blaž Hrastnik | 2021-03-24 05:52:13 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-03-24 05:58:01 +0000 |
commit | 06aca7691c845d129abc49fb649ea7c42376a077 (patch) | |
tree | d8eaf53aec0d323914d7839a36caa2a748885c3a /helix-core/src/position.rs | |
parent | 8a0ab447ecfa6c2c448603d469ba4fd06e95c754 (diff) |
clippy lint
Diffstat (limited to 'helix-core/src/position.rs')
-rw-r--r-- | helix-core/src/position.rs | 2 |
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, } |