aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-02-03 17:31:51 +0100
committerpml68 <contact@pml68.dev>2025-02-03 17:31:51 +0100
commit214d520fb401b9c806d8c75753cd85b5029e6034 (patch)
tree05d1f6c39b8f650e39dacf653e4b8ea272c0c3a2
parentfeat: set color format of Other and Custom `Scope`s to None by default (diff)
downloadiced_custom_highlighter-214d520fb401b9c806d8c75753cd85b5029e6034.tar.gz
docs: typo
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 1418a70..03c306e 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -206,7 +206,7 @@ impl<T: Catalog> Highlight<T> {
}
impl Highlight<Theme> {
- /// The defalt styling function of a [`Highlight`].
+ /// The default styling function of a [`Highlight`].
#[must_use]
pub fn default_style(theme: &Theme, scope: &Scope) -> Format<Font> {
let color = match scope {