Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/Debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ struct Foo {
The field `bar` will be displayed with `path::to::my_fmt_fn(&bar, &mut fmt)`
where `fmt` is the current [`Formatter`].

The function must the following prototype:
The function must have the following prototype:

```rust,ignore
fn fmt(&T, &mut std::fmt::Formatter) -> Result<(), std::fmt::Error>;
Expand Down Expand Up @@ -150,4 +150,4 @@ struct Foo {
#[derivative(Debug="ignore")]
bar: String,
}
```
```