@@ -535,7 +535,7 @@ impl TokenTree {
535535 }
536536}
537537
538- /// Prints token treee in a form convenient for debugging.
538+ /// Prints token tree in a form convenient for debugging.
539539#[ stable( feature = "proc_macro_lib2" , since = "1.29.0" ) ]
540540impl fmt:: Debug for TokenTree {
541541 fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
@@ -730,7 +730,7 @@ impl fmt::Debug for Group {
730730
731731/// An `Punct` is an single punctuation character like `+`, `-` or `#`.
732732///
733- /// Multicharacter operators like `+=` are represented as two instances of `Punct` with different
733+ /// Multi-character operators like `+=` are represented as two instances of `Punct` with different
734734/// forms of `Spacing` returned.
735735#[ stable( feature = "proc_macro_lib2" , since = "1.29.0" ) ]
736736#[ derive( Clone ) ]
@@ -788,7 +788,7 @@ impl Punct {
788788
789789 /// Returns the spacing of this punctuation character, indicating whether it's immediately
790790 /// followed by another `Punct` in the token stream, so they can potentially be combined into
791- /// a multicharacter operator (`Joint`), or it's followed by some other token or whitespace
791+ /// a multi-character operator (`Joint`), or it's followed by some other token or whitespace
792792 /// (`Alone`) so the operator has certainly ended.
793793 #[ stable( feature = "proc_macro_lib2" , since = "1.29.0" ) ]
794794 pub fn spacing ( & self ) -> Spacing {
@@ -947,7 +947,7 @@ macro_rules! suffixed_int_literals {
947947 /// This function will create an integer like `1u32` where the integer
948948 /// value specified is the first part of the token and the integral is
949949 /// also suffixed at the end.
950- /// Literals created from negative numbers may not survive rountrips through
950+ /// Literals created from negative numbers may not survive round-trips through
951951 /// `TokenStream` or strings and may be broken into two tokens (`-` and positive literal).
952952 ///
953953 /// Literals created through this method have the `Span::call_site()`
@@ -1047,7 +1047,7 @@ impl Literal {
10471047
10481048 /// Creates a new suffixed floating-point literal.
10491049 ///
1050- /// This consturctor will create a literal like `1.0f32` where the value
1050+ /// This constructor will create a literal like `1.0f32` where the value
10511051 /// specified is the preceding part of the token and `f32` is the suffix of
10521052 /// the token. This token will always be inferred to be an `f32` in the
10531053 /// compiler.
@@ -1096,7 +1096,7 @@ impl Literal {
10961096
10971097 /// Creates a new suffixed floating-point literal.
10981098 ///
1099- /// This consturctor will create a literal like `1.0f64` where the value
1099+ /// This constructor will create a literal like `1.0f64` where the value
11001100 /// specified is the preceding part of the token and `f64` is the suffix of
11011101 /// the token. This token will always be inferred to be an `f64` in the
11021102 /// compiler.
0 commit comments