Add trace output
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
8912939e29
commit
1047a06a64
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ pub fn is_tag(s: String) -> Result<(), String> {
|
|||
|
||||
pub fn is_tag_str(s: &String) -> Result<(), String> {
|
||||
use filters::filter::Filter;
|
||||
trace!("Checking whether '{}' is a valid tag", s);
|
||||
|
||||
let is_lower = |s: &String| s.chars().all(|c| c.is_lowercase());
|
||||
let no_whitespace = |s: &String| s.chars().all(|c| !c.is_whitespace());
|
||||
|
|
Loading…
Reference in a new issue