mirror of
https://github.com/solaeus/nucleo.git
synced 2024-12-22 01:47:49 +00:00
Merge pull request #29 from blinxen/remove-unused-dep
This commit is contained in:
commit
831f502df3
@ -10,7 +10,6 @@ readme = "../README.md"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
memchr = "2.5.0"
|
memchr = "2.5.0"
|
||||||
cov-mark = { version = "1.1.0", default-features = false }
|
|
||||||
unicode-segmentation = { version = "1.10", optional = true }
|
unicode-segmentation = { version = "1.10", optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
@ -62,7 +62,7 @@ pub enum AtomKind {
|
|||||||
Exact,
|
Exact,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A single pattern component that is matched with a single [`Matcher`](crate::Matcher) function
|
/// A single pattern component that is matched with a single [`Matcher`] function
|
||||||
#[derive(Debug, PartialEq, Eq, Clone)]
|
#[derive(Debug, PartialEq, Eq, Clone)]
|
||||||
pub struct Atom {
|
pub struct Atom {
|
||||||
/// Whether this pattern atom is a negative match.
|
/// Whether this pattern atom is a negative match.
|
||||||
@ -245,7 +245,7 @@ impl Atom {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Matches this pattern against `haystack` (using the allocation and configuration
|
/// Matches this pattern against `haystack` (using the allocation and configuration
|
||||||
/// from `matcher`) and calculates a ranking score. See the [`Matcher`](crate::Matcher).
|
/// from `matcher`) and calculates a ranking score. See the [`Matcher`].
|
||||||
/// Documentation for more details.
|
/// Documentation for more details.
|
||||||
///
|
///
|
||||||
/// *Note:* The `ignore_case` setting is overwritten to match the casing of
|
/// *Note:* The `ignore_case` setting is overwritten to match the casing of
|
||||||
@ -271,7 +271,7 @@ impl Atom {
|
|||||||
|
|
||||||
/// Matches this pattern against `haystack` (using the allocation and
|
/// Matches this pattern against `haystack` (using the allocation and
|
||||||
/// configuration from `matcher`), calculates a ranking score and the match
|
/// configuration from `matcher`), calculates a ranking score and the match
|
||||||
/// indices. See the [`Matcher`](crate::Matcher). Documentation for more
|
/// indices. See the [`Matcher`]. Documentation for more
|
||||||
/// details.
|
/// details.
|
||||||
///
|
///
|
||||||
/// *Note:* The `ignore_case` setting is overwritten to match the casing of
|
/// *Note:* The `ignore_case` setting is overwritten to match the casing of
|
||||||
@ -423,7 +423,7 @@ impl Pattern {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Matches this pattern against `haystack` (using the allocation and configuration
|
/// Matches this pattern against `haystack` (using the allocation and configuration
|
||||||
/// from `matcher`) and calculates a ranking score. See the [`Matcher`](crate::Matcher).
|
/// from `matcher`) and calculates a ranking score. See the [`Matcher`].
|
||||||
/// Documentation for more details.
|
/// Documentation for more details.
|
||||||
///
|
///
|
||||||
/// *Note:* The `ignore_case` setting is overwritten to match the casing of
|
/// *Note:* The `ignore_case` setting is overwritten to match the casing of
|
||||||
@ -441,7 +441,7 @@ impl Pattern {
|
|||||||
|
|
||||||
/// Matches this pattern against `haystack` (using the allocation and
|
/// Matches this pattern against `haystack` (using the allocation and
|
||||||
/// configuration from `matcher`), calculates a ranking score and the match
|
/// configuration from `matcher`), calculates a ranking score and the match
|
||||||
/// indices. See the [`Matcher`](crate::Matcher). Documentation for more
|
/// indices. See the [`Matcher`]. Documentation for more
|
||||||
/// details.
|
/// details.
|
||||||
///
|
///
|
||||||
/// *Note:* The `ignore_case` setting is overwritten to match the casing of
|
/// *Note:* The `ignore_case` setting is overwritten to match the casing of
|
||||||
|
Loading…
Reference in New Issue
Block a user