Rollup merge of #127950 - nnethercote:rustfmt-skip-on-use-decls, r=cu… · model-checking/verify-rust-std@30cfde4

Original file line numberDiff line numberDiff line change

@@ -24,18 +24,23 @@ mod convert;

2424

mod decode;

2525

mod methods;

2626
27+

// stable re-exports

28+

#[rustfmt::skip]

2729

#[stable(feature = "try_from", since = "1.34.0")]

2830

pub use self::convert::CharTryFromError;

2931

#[stable(feature = "char_from_str", since = "1.20.0")]

3032

pub use self::convert::ParseCharError;

3133

#[stable(feature = "decode_utf16", since = "1.9.0")]

3234

pub use self::decode::{DecodeUtf16, DecodeUtf16Error};

3335
36+

// perma-unstable re-exports

37+

#[rustfmt::skip]

3438

#[unstable(feature = "char_internals", reason = "exposed only for libstd", issue = "none")]

3539

pub use self::methods::encode_utf16_raw; // perma-unstable

3640

#[unstable(feature = "char_internals", reason = "exposed only for libstd", issue = "none")]

3741

pub use self::methods::encode_utf8_raw; // perma-unstable

3842
43+

#[rustfmt::skip]

3944

use crate::ascii;

4045

use crate::error::Error;

4146

use crate::escape;