diff --git a/src/args.rs b/src/args.rs index 15d835a..196da5a 100644 --- a/src/args.rs +++ b/src/args.rs @@ -29,9 +29,9 @@ macro_rules! tuple_args { #[rustfmt::skip] tuple_args!( A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 - // A11 A12 A13 A14 A15 A16 A17 A18 A19 A20 - // A21 A22 A23 A24 A25 A26 A27 A28 A29 A30 - // A31 A32 A33 A34 A35 A36 A37 A38 A39 A40 + A11 A12 A13 A14 A15 A16 A17 A18 A19 A20 + A21 A22 A23 A24 A25 A26 A27 A28 A29 A30 + A31 A32 A33 A34 A35 A36 A37 A38 A39 A40 // A41 A42 A43 A44 A45 A46 A47 A48 A49 A50 // A51 A52 A53 A54 A55 A56 A57 A58 A59 A60 // A61 A62 A63 A64 A65 A66 A67 A68 A69 A70 @@ -69,7 +69,7 @@ macro_rules! traits { } traits!( - struct DebugArg: trait Debug; + struct DebugArg: trait Debug; struct DisplayArg: trait Display; struct BinaryArg: trait Binary; struct OctalArg: trait Octal; diff --git a/src/opts.rs b/src/opts.rs index 1051453..f4f9185 100644 --- a/src/opts.rs +++ b/src/opts.rs @@ -91,6 +91,7 @@ macro_rules! options { impl Formatter { $( + #[doc = concat!("Gets the `", stringify!($name), "` option from the underlying options type.")] #[inline] pub fn $name(&self) -> $ret { O::$name(&self.opts) diff --git a/src/rust_core_impl/mod.rs b/src/rust_core_impl/mod.rs index 2890fb9..3b06eba 100644 --- a/src/rust_core_impl/mod.rs +++ b/src/rust_core_impl/mod.rs @@ -133,7 +133,7 @@ impl PostPadding { } impl Formatter { - pub fn pad_integral(&mut self, is_nonnegative: bool, prefix: &str, buf: &str) -> Result { + fn pad_integral(&mut self, is_nonnegative: bool, prefix: &str, buf: &str) -> Result { let mut width = buf.len(); let mut sign = None;