diff options
| -rw-r--r-- | deny.toml | 4 | ||||
| -rw-r--r-- | src/main.rs | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -35,7 +35,9 @@ allow-osi-fsf-free = "neither" default = "deny" # Some crates require weird licenses, exceptions for those crates can be made here -exceptions = [] +exceptions = [ + { allow = ["Unicode-DFS-2016"], name = "unicode-ident", version = "*" }, +] # The confidence threshold for detecting a license from license text. # The higher the value, the more closely the license text must be to the diff --git a/src/main.rs b/src/main.rs index 5d4cafc..89ce7f9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -23,7 +23,7 @@ fn main() { } let source_path = &args[1]; - let Ok(source) = fs::read_to_string(source_path) else { + let Ok(_source) = fs::read_to_string(source_path) else { println!("Error while reading '{source_path}'"); return; }; |
