internals: Fix docs typo

This commit is contained in:
Tobin C. Harding 2023-11-29 14:17:48 +11:00
parent 931a1d0356
commit fa8d3002cd
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ pub struct InputString(Storage);
impl InputString { impl InputString {
/// Displays a message saying `failed to parse <self> as <what>`. /// Displays a message saying `failed to parse <self> as <what>`.
/// ///
/// This is normally used whith the `write_err!` macro. /// This is normally used with the `write_err!` macro.
pub fn display_cannot_parse<'a, T>(&'a self, what: &'a T) -> CannotParse<'a, T> pub fn display_cannot_parse<'a, T>(&'a self, what: &'a T) -> CannotParse<'a, T>
where where
T: fmt::Display + ?Sized, T: fmt::Display + ?Sized,