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.
1 parent 54a8a1d commit 97f6437Copy full SHA for 97f6437
library/core/src/fmt/mod.rs
@@ -386,8 +386,8 @@ impl FormattingOptions {
386
/// used. The alternate forms are:
387
/// - [`Debug`] : pretty-print the [`Debug`] formatting (adds linebreaks and indentation)
388
/// - [`LowerHex`] as well as [`UpperHex`] - precedes the argument with a `0x`
389
- /// - [`Octal`] - precedes the argument with a `0b`
390
- /// - [`Binary`] - precedes the argument with a `0o`
+ /// - [`Octal`] - precedes the argument with a `0o`
+ /// - [`Binary`] - precedes the argument with a `0b`
391
#[unstable(feature = "formatting_options", issue = "118117")]
392
pub const fn alternate(&mut self, alternate: bool) -> &mut Self {
393
if alternate {
0 commit comments