Skip to content

Commit b07bde2

Browse files
jnodorpjoboet
andauthored
Update library/alloc/src/string.rs
Co-authored-by: Jonas Böttiger <jonasboettiger@icloud.com>
1 parent 5ff0ec6 commit b07bde2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/alloc/src/string.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ pub struct FromUtf16Error {
414414
kind: FromUtf16ErrorKind,
415415
}
416416

417-
#[cfg_attr(no_global_oom_handling, allow(dead_code))]
417+
#[cfg_attr(no_global_oom_handling, expect(dead_code))]
418418
#[derive(Clone, PartialEq, Eq, Debug)]
419419
enum FromUtf16ErrorKind {
420420
LoneSurrogate,

0 commit comments

Comments
 (0)