diff --git a/doc/Debug.md b/doc/Debug.md index 25b66be..40d91c2 100644 --- a/doc/Debug.md +++ b/doc/Debug.md @@ -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>; @@ -150,4 +150,4 @@ struct Foo { #[derivative(Debug="ignore")] bar: String, } -``` \ No newline at end of file +```