aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2025-09-30 10:20:45 +0200
committerPolesznyák Márk <contact@pml68.dev>2025-09-30 10:20:45 +0200
commitebf9c06100ab87cd958fbbc9dbbaac5099af5122 (patch)
tree5d8e1bbd02f9efe81015ba9073f3cd8689ab3143 /src/lib.rs
parentfeat: switch from `onig` to `fancy` (diff)
downloadiced_custom_highlighter-ebf9c06100ab87cd958fbbc9dbbaac5099af5122.tar.gz
fix: clippy lints
Diffstat (limited to '')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 5506d0e..94ff5e9 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -280,6 +280,7 @@ where
/// The settings of a [`Highlighter`].
#[derive(Debug, Clone, PartialEq)]
+#[allow(unpredictable_function_pointer_comparisons)]
pub struct Settings<T> {
/// Custom scopes used for parsing the code.
///