We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e0cb84 commit ae3cbfbCopy full SHA for ae3cbfb
src/dev/dir-structure/dir-structure-tools/src/dir_children.rs
@@ -5,6 +5,7 @@
5
//! Additionally, [`ForceCreateDirChildren`] is a variant that forces the creation of the directory
6
//! structure, even without any children.
7
8
+use std::error::Error as StdError;
9
use std::fmt;
10
use std::hash;
11
use std::marker;
@@ -1786,7 +1787,7 @@ pub struct UnexpectedNumberOfChildren {
1786
1787
found: usize,
1788
}
1789
-impl std::error::Error for UnexpectedNumberOfChildren {}
1790
+impl StdError for UnexpectedNumberOfChildren {}
1791
1792
impl fmt::Display for UnexpectedNumberOfChildren {
1793
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
0 commit comments