better comment wording

This commit is contained in:
king6cong 2017-01-22 15:45:06 +08:00
parent e5b0829bb0
commit d59a2afe58
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ pub struct TraitDef {
/// If `true`, then this trait had the `#[rustc_paren_sugar]`
/// attribute, indicating that it should be used with `Foo()`
/// sugar. This is a temporary thing -- eventually any trait wil
/// sugar. This is a temporary thing -- eventually any trait will
/// be usable with the sugar (or without it).
pub paren_sugar: bool,

View File

@ -904,7 +904,7 @@ fn print_flag_list<T>(cmdline_opt: &str,
/// should continue, returns a getopts::Matches object parsed from args,
/// otherwise returns None.
///
/// The compiler's handling of options is a little complication as it ties into
/// The compiler's handling of options is a little complicated as it ties into
/// our stability story, and it's even *more* complicated by historical
/// accidents. The current intention of each compiler option is to have one of
/// three modes: