std::string::String.from_utf16 doc fix
This commit is contained in:
parent
552bf75e7d
commit
77cdeb0437
1 changed files with 1 additions and 1 deletions
|
|
@ -641,7 +641,7 @@ impl String {
|
|||
Cow::Owned(res)
|
||||
}
|
||||
|
||||
/// Decode a UTF-16 encoded vector `v` into a `String`, returning `None`
|
||||
/// Decode a UTF-16 encoded vector `v` into a `String`, returning `Err`
|
||||
/// if `v` contains any invalid data.
|
||||
///
|
||||
/// # Examples
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue