Skip to content

Commit 3f261ec

Browse files
committed
Auto merge of #39238 - king6cong:pr, r=frewsxcv
better comment wording
2 parents a8fa310 + d59a2af commit 3f261ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustc/ty/trait_def.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub struct TraitDef {
2626

2727
/// If `true`, then this trait had the `#[rustc_paren_sugar]`
2828
/// attribute, indicating that it should be used with `Foo()`
29-
/// sugar. This is a temporary thing -- eventually any trait wil
29+
/// sugar. This is a temporary thing -- eventually any trait will
3030
/// be usable with the sugar (or without it).
3131
pub paren_sugar: bool,
3232

src/librustc_driver/lib.rs

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

0 commit comments

Comments
 (0)