Skip to content

Commit 81a0bd5

Browse files
committed
type specs
1 parent 3cabab3 commit 81a0bd5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/cli.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ enum Command {
3030
}
3131

3232
pub fn entrypoint() -> Fallible<()> {
33-
let cli = Command::parse();
33+
let cli: Command = Command::parse();
3434
match cli {
3535
Command::Drill { directory } => {
36-
let directory = match directory {
36+
let directory: PathBuf = match directory {
3737
Some(dir) => PathBuf::from(dir),
3838
None => std::env::current_dir()?,
3939
};

0 commit comments

Comments
 (0)