mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 01:26:32 +00:00
Document args returned from String::into_raw_parts
This commit is contained in:
@@ -864,7 +864,7 @@ impl 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