Skip to content

Commit 97549c4

Browse files
committed
Rollup merge of #31272 - errandir:master, r=steveklabnik
2 parents 669494b + 77cdeb0 commit 97549c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/string.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ impl String {
641641
Cow::Owned(res)
642642
}
643643

644-
/// Decode a UTF-16 encoded vector `v` into a `String`, returning `None`
644+
/// Decode a UTF-16 encoded vector `v` into a `String`, returning `Err`
645645
/// if `v` contains any invalid data.
646646
///
647647
/// # Examples

0 commit comments

Comments
 (0)