Skip to content

Commit

Permalink
✏️ fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanTsune committed Aug 14, 2024
1 parent 24ece9f commit 6bfa663
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/file_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,15 +174,15 @@ pub(crate) struct FileManager {

impl FileManager {
pub(crate) fn new(archive_path: PathBuf, password: Option<String>) -> Self {
let mut mamager = Self {
let mut manager = Self {
archive_path,
tree: TreeBuilder::new().build(),
files: HashMap::new(),
node_ids: HashMap::new(),
last_inode: ROOT_INODE,
};
mamager.populate(password.as_deref()).unwrap();
mamager
manager.populate(password.as_deref()).unwrap();
manager
}

fn populate(&mut self, password: Option<&str>) -> io::Result<()> {
Expand Down

0 comments on commit 6bfa663

Please sign in to comment.