mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
Rearrange String::from_raw_parts
doc argument order to match code argument order
This commit is contained in:
parent
a1b93e8fed
commit
26bdf2900a
@ -896,7 +896,7 @@ impl String {
|
||||
self.vec.into_raw_parts()
|
||||
}
|
||||
|
||||
/// Creates a new `String` from a length, capacity, and pointer.
|
||||
/// Creates a new `String` from a pointer, a length and a capacity.
|
||||
///
|
||||
/// # Safety
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user