Skip to content

Commit ae3cbfb

Browse files
committed
chore: fix
1 parent 6e0cb84 commit ae3cbfb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/dev/dir-structure/dir-structure-tools/src/dir_children.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
//! Additionally, [`ForceCreateDirChildren`] is a variant that forces the creation of the directory
66
//! structure, even without any children.
77
8+
use std::error::Error as StdError;
89
use std::fmt;
910
use std::hash;
1011
use std::marker;
@@ -1786,7 +1787,7 @@ pub struct UnexpectedNumberOfChildren {
17861787
found: usize,
17871788
}
17881789

1789-
impl std::error::Error for UnexpectedNumberOfChildren {}
1790+
impl StdError for UnexpectedNumberOfChildren {}
17901791

17911792
impl fmt::Display for UnexpectedNumberOfChildren {
17921793
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {

0 commit comments

Comments
 (0)