File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ pub enum Class {
107
107
///
108
108
/// The classifier will call into the `Writer` implementation as it finds spans
109
109
/// of text to highlight. Exactly how that text should be highlighted is up to
110
- /// the implemention .
110
+ /// the implementation .
111
111
pub trait Writer {
112
112
/// Called when we start processing a span of text that should be highlighted.
113
113
/// The `Class` argument specifies how it should be highlighted.
Original file line number Diff line number Diff line change @@ -2721,7 +2721,7 @@ impl<'a> fmt::Display for Sidebar<'a> {
2721
2721
let parentlen = cx. current . len ( ) - if it. is_mod ( ) { 1 } else { 0 } ;
2722
2722
2723
2723
// the sidebar is designed to display sibling functions, modules and
2724
- // other miscellaneous informations . since there are lots of sibling
2724
+ // other miscellaneous information . since there are lots of sibling
2725
2725
// items (and that causes quadratic growth in large modules),
2726
2726
// we refactor common parts into a shared JavaScript file per module.
2727
2727
// still, we don't move everything into JS because we want to preserve
Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ mod fallback {
239
239
text[ ..offset] . iter ( ) . rposition ( |elt| * elt == x)
240
240
}
241
241
242
- // test fallback implementations on all plattforms
242
+ // test fallback implementations on all platforms
243
243
#[ test]
244
244
fn matches_one ( ) {
245
245
assert_eq ! ( Some ( 0 ) , memchr( b'a' , b"a" ) ) ;
You can’t perform that action at this time.
0 commit comments