Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
fredyw committed Sep 3, 2024
1 parent a6cb5c3 commit 88caaf1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bulk_rename.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ pub struct BulkRename<'a> {
replacement: &'a str,
}

/// Possible errors when running a bulk rename.
#[derive(Debug)]
pub enum Error {
/// An error for when the path is not a directory.
NotDirError,
/// An error for when the regex is invalid.
RegexError(regex::Error),
}

Expand Down

0 comments on commit 88caaf1

Please sign in to comment.