Skip to content

Commit

Permalink
std::string::String.from_utf16 doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tgor committed Jan 28, 2016
1 parent 552bf75 commit 77cdeb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcollections/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 77cdeb0

Please sign in to comment.