Skip to content

Commit

Permalink
update Literal's intro
Browse files Browse the repository at this point in the history
  • Loading branch information
slanterns authored Oct 1, 2024
1 parent 8dd5cd0 commit 30ff400
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 30ff400

Please sign in to comment.