Skip to content

Commit

Permalink
Document args returned from String::into_raw_parts
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyouxu committed Feb 26, 2024
1 parent dd24a46 commit bfeea29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bfeea29

Please sign in to comment.