summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 7921df0..57f7c9e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -7,17 +7,17 @@ use num_format::{Locale, ToFormattedString};
use diskus::walk::{self, Walk};
-fn print_result(size: u64, errors: &[walk::Err], size_format: &FileSizeOpts, verbose: bool) {
+fn print_result(size: u64, errors: &[walk::Error], size_format: &FileSizeOpts, verbose: bool) {
if verbose {
for err in errors {
match err {
- walk::Err::NoMetadataForPath(path) => {
+ walk::Error::NoMetadataForPath(path) => {
eprintln!(
"diskus: could not retrieve metadata for path '{}'",
path.to_string_lossy()
);
}
- walk::Err::CouldNotReadDir(path) => {
+ walk::Error::CouldNotReadDir(path) => {
eprintln!(
"diskus: could not read contents of directory '{}'",
path.to_string_lossy()