mirror of
https://github.com/openharmony/third_party_rust_aho-corasick.git
synced 2026-07-01 06:48:28 -04:00
@@ -275,6 +275,12 @@ impl Match {
|
||||
self.end
|
||||
}
|
||||
|
||||
/// The length, in bytes, of the match.
|
||||
#[inline]
|
||||
pub fn len(&self) -> usize {
|
||||
self.len
|
||||
}
|
||||
|
||||
/// Returns true if and only if this match is empty. That is, when
|
||||
/// `start() == end()`.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user