@@ -535,7 +535,7 @@ impl TokenTree {
535
535
}
536
536
}
537
537
538
- /// Prints token treee in a form convenient for debugging.
538
+ /// Prints token tree in a form convenient for debugging.
539
539
#[ stable( feature = "proc_macro_lib2" , since = "1.29.0" ) ]
540
540
impl fmt:: Debug for TokenTree {
541
541
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
@@ -730,7 +730,7 @@ impl fmt::Debug for Group {
730
730
731
731
/// An `Punct` is an single punctuation character like `+`, `-` or `#`.
732
732
///
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
734
734
/// forms of `Spacing` returned.
735
735
#[ stable( feature = "proc_macro_lib2" , since = "1.29.0" ) ]
736
736
#[ derive( Clone ) ]
@@ -788,7 +788,7 @@ impl Punct {
788
788
789
789
/// Returns the spacing of this punctuation character, indicating whether it's immediately
790
790
/// 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
792
792
/// (`Alone`) so the operator has certainly ended.
793
793
#[ stable( feature = "proc_macro_lib2" , since = "1.29.0" ) ]
794
794
pub fn spacing ( & self ) -> Spacing {
@@ -947,7 +947,7 @@ macro_rules! suffixed_int_literals {
947
947
/// This function will create an integer like `1u32` where the integer
948
948
/// value specified is the first part of the token and the integral is
949
949
/// 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
951
951
/// `TokenStream` or strings and may be broken into two tokens (`-` and positive literal).
952
952
///
953
953
/// Literals created through this method have the `Span::call_site()`
@@ -1047,7 +1047,7 @@ impl Literal {
1047
1047
1048
1048
/// Creates a new suffixed floating-point literal.
1049
1049
///
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
1051
1051
/// specified is the preceding part of the token and `f32` is the suffix of
1052
1052
/// the token. This token will always be inferred to be an `f32` in the
1053
1053
/// compiler.
@@ -1096,7 +1096,7 @@ impl Literal {
1096
1096
1097
1097
/// Creates a new suffixed floating-point literal.
1098
1098
///
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
1100
1100
/// specified is the preceding part of the token and `f64` is the suffix of
1101
1101
/// the token. This token will always be inferred to be an `f64` in the
1102
1102
/// compiler.
0 commit comments