summaryrefslogtreecommitdiff
path: root/src/syntax/span.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax/span.rs')
-rw-r--r--src/syntax/span.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax/span.rs b/src/syntax/span.rs
index d939ed28..d3683c1a 100644
--- a/src/syntax/span.rs
+++ b/src/syntax/span.rs
@@ -32,7 +32,7 @@ impl<T> Spanned<T> {
Spanned { v: &self.v, span: self.span }
}
- /// Map the value using a function while keeping the span.
+ /// Map the value using a function keeping the span.
pub fn map<F, U>(self, f: F) -> Spanned<U>
where
F: FnOnce(T) -> U,