Skip to content

Commit

Permalink
Unrolled build for rust-lang#131105
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#131105 - slanterns:literal_c_str, r=petrochenkov

update `Literal`'s intro

Just something missd when adding c_str to it.
  • Loading branch information
rust-timer authored Oct 5, 2024
2 parents 495f75a + 30ff400 commit 7aaad55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/proc_macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,7 @@ impl fmt::Debug for Ident {
}
}

/// A literal string (`"hello"`), byte string (`b"hello"`),
/// A literal string (`"hello"`), byte string (`b"hello"`), C string (`c"hello"`),
/// character (`'a'`), byte character (`b'a'`), an integer or floating point number
/// with or without a suffix (`1`, `1u8`, `2.3`, `2.3f32`).
/// Boolean literals like `true` and `false` do not belong here, they are `Ident`s.
Expand Down

0 comments on commit 7aaad55

Please sign in to comment.