We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cabab3 commit 81a0bd5Copy full SHA for 81a0bd5
1 file changed
src/cli.rs
@@ -30,10 +30,10 @@ enum Command {
30
}
31
32
pub fn entrypoint() -> Fallible<()> {
33
- let cli = Command::parse();
+ let cli: Command = Command::parse();
34
match cli {
35
Command::Drill { directory } => {
36
- let directory = match directory {
+ let directory: PathBuf = match directory {
37
Some(dir) => PathBuf::from(dir),
38
None => std::env::current_dir()?,
39
};
0 commit comments