Rollup merge of #34626 - sylvestre:master, r=Manishearth

Fix typos
This commit is contained in:
Steve Klabnik 2016-07-06 19:13:07 -04:00 committed by GitHub
commit 1b7bebf84d
5 changed files with 6 additions and 6 deletions

View file

@ -107,7 +107,7 @@ pub enum Class {
///
/// The classifier will call into the `Writer` implementation as it finds spans
/// of text to highlight. Exactly how that text should be highlighted is up to
/// the implemention.
/// the implementation.
pub trait Writer {
/// Called when we start processing a span of text that should be highlighted.
/// The `Class` argument specifies how it should be highlighted.

View file

@ -2716,7 +2716,7 @@ impl<'a> fmt::Display for Sidebar<'a> {
let parentlen = cx.current.len() - if it.is_mod() {1} else {0};
// the sidebar is designed to display sibling functions, modules and
// other miscellaneous informations. since there are lots of sibling
// other miscellaneous information. since there are lots of sibling
// items (and that causes quadratic growth in large modules),
// we refactor common parts into a shared JavaScript file per module.
// still, we don't move everything into JS because we want to preserve