We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
String::into_raw_parts
1 parent dd24a46 commit bfeea29Copy full SHA for bfeea29
library/alloc/src/string.rs
@@ -864,7 +864,7 @@ impl String {
864
}
865
866
867
- /// Decomposes a `String` into its raw components.
+ /// Decomposes a `String` into its raw components: `(pointer, length, capacity)`.
868
///
869
/// Returns the raw pointer to the underlying data, the length of
870
/// the string (in bytes), and the allocated capacity of the data
0 commit comments