Skip to content

Commit f61c742

Browse files
authored
docs
1 parent 855e0fe commit f61c742

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/alloc/src/string.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1392,6 +1392,8 @@ 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.
1396+
///
13951397
/// # Examples
13961398
///
13971399
/// ```

0 commit comments

Comments
 (0)