Skip to content

Commit 342cad9

Browse files
committed
Fix type in error
1 parent 641b1b5 commit 342cad9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub struct Error {
2222
impl Error {
2323
/// Creates a new empty [`Error`].
2424
///
25-
/// See [`Self::wth_msg`] and [`Self::with_span`].
25+
/// See [`Self::with_msg`] and [`Self::with_span`].
2626
pub const fn new() -> Self {
2727
Self {
2828
messages: Vec::new(),

0 commit comments

Comments
 (0)