Skip to content

Commit 79a52a0

Browse files
Update string.rs
Co-authored-by: lolbinarycat <[email protected]>
1 parent f61c742 commit 79a52a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/string.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,7 @@ impl String {
13921392

13931393
/// Appends the given [`char`] to the end of this `String`.
13941394
///
1395-
/// Note: When pushing a char, it is automatically converted to its UTF-8 byte representation since Rust strings are UTF-8 encoded.
1395+
/// Since Rust strings are UTF-8 encoded, the pushed char will automatically converted to its UTF-8 byte representation.
13961396
///
13971397
/// # Examples
13981398
///

0 commit comments

Comments
 (0)