Skip to content

Commit

Permalink
Fix rountrips typo in several places
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 20, 2022
1 parent e6bc873 commit e4ed201
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1128,9 +1128,9 @@ impl Literal {
/// This constructor is similar to those like `Literal::i8_unsuffixed` where
/// the float's value is emitted directly into the token but no suffix is
/// used, so it may be inferred to be a `f64` later in the compiler.
/// Literals created from negative numbers may not survive rountrips through
/// `TokenStream` or strings and may be broken into two tokens (`-` and
/// positive literal).
/// Literals created from negative numbers may not survive round-trips
/// through `TokenStream` or strings and may be broken into two tokens (`-`
/// and positive literal).
///
/// # Panics
///
Expand All @@ -1147,7 +1147,7 @@ impl Literal {
/// specified is the preceding part of the token and `f64` is the suffix of
/// the token. This token will always be inferred to be an `f64` in the
/// compiler. Literals created from negative numbers may not survive
/// rountrips through `TokenStream` or strings and may be broken into two
/// round-trips through `TokenStream` or strings and may be broken into two
/// tokens (`-` and positive literal).
///
/// # Panics
Expand All @@ -1164,9 +1164,9 @@ impl Literal {
/// This constructor is similar to those like `Literal::i8_unsuffixed` where
/// the float's value is emitted directly into the token but no suffix is
/// used, so it may be inferred to be a `f64` later in the compiler.
/// Literals created from negative numbers may not survive rountrips through
/// `TokenStream` or strings and may be broken into two tokens (`-` and
/// positive literal).
/// Literals created from negative numbers may not survive round-trips
/// through `TokenStream` or strings and may be broken into two tokens (`-`
/// and positive literal).
///
/// # Panics
///
Expand All @@ -1183,7 +1183,7 @@ impl Literal {
/// specified is the preceding part of the token and `f32` is the suffix of
/// the token. This token will always be inferred to be an `f32` in the
/// compiler. Literals created from negative numbers may not survive
/// rountrips through `TokenStream` or strings and may be broken into two
/// round-trips through `TokenStream` or strings and may be broken into two
/// tokens (`-` and positive literal).
///
/// # Panics
Expand Down

0 comments on commit e4ed201

Please sign in to comment.