mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 11:17:26 +03:00
Document args returned from String::into_raw_parts
This commit is contained in:
@@ -864,7 +864,7 @@ pub fn from_utf16be_lossy(v: &[u8]) -> String {
|
||||
}
|
||||
}
|
||||
|
||||
/// Decomposes a `String` into its raw components.
|
||||
/// Decomposes a `String` into its raw components: `(pointer, length, capacity)`.
|
||||
///
|
||||
/// Returns the raw pointer to the underlying data, the length of
|
||||
/// the string (in bytes), and the allocated capacity of the data
|
||||
|
||||
Reference in New Issue
Block a user