We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
flags
get_flags
1 parent 2fc2608 commit 245acf8Copy full SHA for 245acf8
library/core/src/fmt/mod.rs
@@ -484,13 +484,21 @@ impl FormattingOptions {
484
}
485
486
#[doc(hidden)]
487
- #[unstable(feature = "fmt_internals", reason = "internal to standard library", issue = "none")]
+ #[unstable(
488
+ feature = "fmt_internals",
489
+ reason = "internal routines only exposed for testing",
490
+ issue = "none"
491
+ )]
492
/// Flags for formatting
493
pub fn flags(&mut self, flags: u32) {
494
self.flags = flags
495
496
497
498
499
500
501
502
503
pub fn get_flags(&self) -> u32 {
504
self.flags
0 commit comments