aboutsummaryrefslogtreecommitdiff
path: root/src/index.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.rs')
-rw-r--r--src/index.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.rs b/src/index.rs
index 7cb6ee24..c80589da 100644
--- a/src/index.rs
+++ b/src/index.rs
@@ -62,7 +62,7 @@ pub struct Line(pub usize);
impl fmt::Display for Line {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
- write!(f, "Line({})", self.0)
+ write!(f, "{}", self.0)
}
}
@@ -74,7 +74,7 @@ pub struct Column(pub usize);
impl fmt::Display for Column {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
- write!(f, "Column({})", self.0)
+ write!(f, "{}", self.0)
}
}