aboutsummaryrefslogtreecommitdiff
path: root/src/index.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.rs')
-rw-r--r--src/index.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.rs b/src/index.rs
index 7fb591f4..418faff2 100644
--- a/src/index.rs
+++ b/src/index.rs
@@ -35,7 +35,7 @@ pub struct Point {
impl Point {
pub fn new(line: Line, col: Column) -> Point {
- Point { line: line, col: col }
+ Point { line, col }
}
}