Skip to content

Commit 30ff400

Browse files
authored
update Literal's intro
1 parent 8dd5cd0 commit 30ff400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/proc_macro/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ impl fmt::Debug for Ident {
11661166
}
11671167
}
11681168

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

0 commit comments

Comments
 (0)