mirror of
https://github.com/sharkdp/fd.git
synced 2024-09-28 13:01:30 +02:00
panic => unreachable
This commit is contained in:
parent
ed45d1c5af
commit
439548c25a
@ -97,7 +97,7 @@ impl CommandTemplate {
|
||||
"{/}" => tokens.push(Token::Basename),
|
||||
"{//}" => tokens.push(Token::Parent),
|
||||
"{/.}" => tokens.push(Token::BasenameNoExt),
|
||||
_ => panic!("Unhandled placeholder"),
|
||||
_ => unreachable!("Unhandled placeholder"),
|
||||
}
|
||||
|
||||
has_placeholder = true;
|
||||
|
Loading…
Reference in New Issue
Block a user