aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-09-03 19:14:14 +0200
committerMartin Fischer <martin@push-f.com>2023-09-03 23:00:05 +0200
commit7cd148aa33a0de7ae5629a51db9157f66db9ac67 (patch)
tree274b2e114a9cd4f2d21a82ea3a3f83665bac8086 /src/lib.rs
parent509ac6a8e3151c065a7ee609fcdabf8847fc0498 (diff)
fix: BufReadReader skips line on invalid UTF-8
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 151bb98..9dd878c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,6 +1,7 @@
#![warn(missing_docs)]
// This is an HTML parser. HTML can be untrusted input from the internet.
-#![forbid(unsafe_code)]
+#![forbid(clippy::undocumented_unsafe_blocks)]
+#![forbid(clippy::multiple_unsafe_ops_per_block)]
#![doc = concat!("[changelog]: ", file_url!("CHANGELOG.md"))]
#![doc = concat!("[the LICENSE file]: ", file_url!("LICENSE"))]
#![doc = include_str!("../README.md")]