Skip to content

Commit

Permalink
Clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Jan 22, 2015
1 parent 1917a1f commit be42152
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion text/0000-debug-improvements.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ It can probably be cleaned up a bit). For convenience, methods will be added
to `Formatter` which create them. An example of use of the `debug_struct`
method is shown in the Motivation section. In addition, the `padded` method
returns a type implementing `fmt::Writer` that pads input passed to it. This
is used inside of the other builders, but may be useful for others.
is used inside of the other builders, but is provided here for use by `Debug`
implementations that require formats not provided with the other helpers.
```rust
impl Formatter {
pub fn debug_struct<'a>(&'a mut self, name: &str) -> DebugStruct<'a> { ... }
Expand Down

0 comments on commit be42152

Please sign in to comment.