diff options
| author | Polesznyák Márk <contact@pml68.dev> | 2025-09-30 10:20:45 +0200 |
|---|---|---|
| committer | Polesznyák Márk <contact@pml68.dev> | 2025-09-30 10:20:45 +0200 |
| commit | ebf9c06100ab87cd958fbbc9dbbaac5099af5122 (patch) | |
| tree | 5d8e1bbd02f9efe81015ba9073f3cd8689ab3143 | |
| parent | feat: switch from `onig` to `fancy` (diff) | |
| download | iced_custom_highlighter-ebf9c06100ab87cd958fbbc9dbbaac5099af5122.tar.gz | |
fix: clippy lints
| -rw-r--r-- | Cargo.toml | 10 | ||||
| -rw-r--r-- | src/lib.rs | 1 |
2 files changed, 8 insertions, 3 deletions
@@ -8,11 +8,15 @@ license = "MIT" repository = "https://github.com/pml68/iced_custom_highlighter" categories = ["gui"] keywords = ["gui", "ui", "graphics", "interface", "widgets"] -rust-version = "1.80" +rust-version = "1.88" [dependencies] -syntect = { version = "5.2", default-features = false, features = ["regex-fancy"] } -two-face = { version = "0.4.3", default-features = false, features = ["syntect-fancy"] } +syntect = { version = "5.2", default-features = false, features = [ + "regex-fancy", +] } +two-face = { version = "0.4", default-features = false, features = [ + "syntect-fancy", +] } [dependencies.iced_core] git = "https://github.com/pml68/iced" @@ -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. /// |
