internals: Fix docs typo
This commit is contained in:
parent
931a1d0356
commit
fa8d3002cd
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue