aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deny.toml4
-rw-r--r--src/main.rs2
2 files changed, 4 insertions, 2 deletions
diff --git a/deny.toml b/deny.toml
index e1d1a8d..16d0307 100644
--- a/deny.toml
+++ b/deny.toml
@@ -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;
};