mirror of
https://github.com/veeso/termscp.git
synced 2026-09-27 06:21:22 -07:00
lint
This commit is contained in:
@@ -278,7 +278,7 @@ impl NotificationsThreshold {
|
||||
parse_bytesize(bytes).is_some()
|
||||
}
|
||||
fn char_valid(_input: &str, incoming: char) -> bool {
|
||||
incoming.is_digit(10) || ['B', 'K', 'M', 'G', 'T', 'P'].contains(&incoming)
|
||||
incoming.is_ascii_digit() || ['B', 'K', 'M', 'G', 'T', 'P'].contains(&incoming)
|
||||
}
|
||||
Self {
|
||||
component: Input::default()
|
||||
|
||||
Reference in New Issue
Block a user