Skip to content

Commit

Permalink
bump clippy to rust version 1.59.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Lederstrumpf committed Feb 27, 2022
1 parent 6a44a23 commit 97431dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .clippy.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
msrv = "1.55.0"
msrv = "1.59.0"
enum-variant-size-threshold = 4000
4 changes: 1 addition & 3 deletions src/opts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,7 @@ impl Opts {
LogLevel::from_verbosity_flag_count(self.verbose).apply();
let mut me = self.clone();

me.data_dir = PathBuf::from(
shellexpand::tilde(&me.data_dir.to_string_lossy().to_string()).to_string(),
);
me.data_dir = PathBuf::from(shellexpand::tilde(&me.data_dir.to_string_lossy()).to_string());
fs::create_dir_all(&me.data_dir).expect("Unable to access data directory");

for s in vec![&mut self.msg_socket, &mut self.ctl_socket] {
Expand Down

0 comments on commit 97431dc

Please sign in to comment.