Skip to content

Commit

Permalink
Adapt new tap API
Browse files Browse the repository at this point in the history
  • Loading branch information
KSXGitHub committed Nov 9, 2020
1 parent b0f7223 commit 58d54df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use std::{
io::{stdin, Read},
path::{Path, PathBuf, MAIN_SEPARATOR},
};
use tap::*;
use tap::tap::*;

impl App {
/// Run the program based on application state.
Expand Down Expand Up @@ -44,7 +44,7 @@ impl App {
list_file_address
.pipe(file_list::read_list)
.map_err(|error| error.to_string())?
.tap(|x| x.extend(files))
.tap_mut(|x| x.extend(files))
} else {
files
}
Expand Down

0 comments on commit 58d54df

Please sign in to comment.