diff options
author | Martin Fischer <martin@push-f.com> | 2023-09-03 19:14:14 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2023-09-03 23:00:05 +0200 |
commit | 7cd148aa33a0de7ae5629a51db9157f66db9ac67 (patch) | |
tree | 274b2e114a9cd4f2d21a82ea3a3f83665bac8086 /src/lib.rs | |
parent | 509ac6a8e3151c065a7ee609fcdabf8847fc0498 (diff) |
fix: BufReadReader skips line on invalid UTF-8
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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")] |