We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 160968e + 1af87c1 commit b8a8bceCopy full SHA for b8a8bce
1 file changed
library/core/src/fmt/mod.rs
@@ -518,7 +518,7 @@ impl FormattingOptions {
518
pub const fn get_precision(&self) -> Option<u16> {
519
if self.flags & flags::PRECISION_FLAG != 0 { Some(self.precision) } else { None }
520
}
521
- /// Returns the current precision.
+ /// Returns the current `x?` or `X?` flag.
522
#[unstable(feature = "formatting_options", issue = "118117")]
523
pub const fn get_debug_as_hex(&self) -> Option<DebugAsHex> {
524
if self.flags & flags::DEBUG_LOWER_HEX_FLAG != 0 {
0 commit comments