We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 73df30d + 5e11c8f commit 8270fafCopy full SHA for 8270faf
src/libcore/fmt/mod.rs
@@ -1305,6 +1305,9 @@ impl<'a> Formatter<'a> {
1305
1306
/// Flags for formatting
1307
#[stable(feature = "rust1", since = "1.0.0")]
1308
+ #[rustc_deprecated(since = "1.24.0",
1309
+ reason = "use the `sign_plus`, `sign_minus`, `alternate`, \
1310
+ or `sign_aware_zero_pad` methods instead")]
1311
pub fn flags(&self) -> u32 { self.flags }
1312
1313
/// Character used as 'fill' whenever there is alignment
0 commit comments