diff options
Diffstat (limited to 'src/syntax')
| -rw-r--r-- | src/syntax/ast/lit.rs | 2 | ||||
| -rw-r--r-- | src/syntax/span.rs | 2 | ||||
| -rw-r--r-- | src/syntax/token.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/syntax/ast/lit.rs b/src/syntax/ast/lit.rs index c08dc8cd..3b6441e7 100644 --- a/src/syntax/ast/lit.rs +++ b/src/syntax/ast/lit.rs @@ -22,7 +22,7 @@ pub enum Lit { Length(Length), /// A percent literal: `50%`. /// - /// Note: `50%` is represented as `50.0` here, but as `0.5` in the + /// _Note_: `50%` is represented as `50.0` here, but as `0.5` in the /// corresponding [value]. /// /// [value]: ../../eval/enum.Value.html#variant.Relative diff --git a/src/syntax/span.rs b/src/syntax/span.rs index 09e5f02c..e9e1021c 100644 --- a/src/syntax/span.rs +++ b/src/syntax/span.rs @@ -83,7 +83,7 @@ impl<T> Spanned<T> { } impl<T> Spanned<Option<T>> { - /// Swap the spanned and option. + /// Swap the spanned and the option. pub fn transpose(self) -> Option<Spanned<T>> { let Spanned { v, span } = self; v.map(|v| v.span_with(span)) diff --git a/src/syntax/token.rs b/src/syntax/token.rs index e3fada43..cb0526c1 100644 --- a/src/syntax/token.rs +++ b/src/syntax/token.rs @@ -75,7 +75,7 @@ pub enum Token<'s> { Length(Length), /// A percentage: `50%`. /// - /// Note: `50%` is represented as `50.0` here, as in the corresponding + /// _Note_: `50%` is represented as `50.0` here, as in the corresponding /// [literal]. /// /// [literal]: ../ast/enum.Lit.html#variant.Percent |
