Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/walkdir.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/util.rs')
-rw-r--r--src/tests/util.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/util.rs b/src/tests/util.rs
index d31a28d..ab977cd 100644
--- a/src/tests/util.rs
+++ b/src/tests/util.rs
@@ -11,12 +11,12 @@ use {DirEntry, Error};
#[macro_export]
macro_rules! err {
($($tt:tt)*) => {
- Box::<error::Error + Send + Sync>::from(format!($($tt)*))
+ Box::<dyn error::Error + Send + Sync>::from(format!($($tt)*))
}
}
/// A convenient result type alias.
-pub type Result<T> = result::Result<T, Box<error::Error + Send + Sync>>;
+pub type Result<T> = result::Result<T, Box<dyn error::Error + Send + Sync>>;
/// The result of running a recursive directory iterator on a single directory.
#[derive(Debug)]