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.
flags
get_flags
1 parent ad69cc4 commit 454f12bCopy full SHA for 454f12b
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