diff --git a/regex-lite/src/string.rs b/regex-lite/src/string.rs index 4e4de9068..6260cc72c 100644 --- a/regex-lite/src/string.rs +++ b/regex-lite/src/string.rs @@ -948,7 +948,7 @@ impl Regex { /// Returns the end byte offset of the first match in the haystack given. /// /// This method may have the same performance characteristics as - /// `is_match`. Behaviorlly, it doesn't just report whether it match + /// `is_match`. Behaviorally, it doesn't just report whether it match /// occurs, but also the end offset for a match. In particular, the offset /// returned *may be shorter* than the proper end of the leftmost-first /// match that you would find via [`Regex::find`]. diff --git a/src/regex/bytes.rs b/src/regex/bytes.rs index 19f5701af..fb7ca9e26 100644 --- a/src/regex/bytes.rs +++ b/src/regex/bytes.rs @@ -965,7 +965,7 @@ impl Regex { /// Returns the end byte offset of the first match in the haystack given. /// /// This method may have the same performance characteristics as - /// `is_match`. Behaviorlly, it doesn't just report whether it match + /// `is_match`. Behaviorally, it doesn't just report whether it match /// occurs, but also the end offset for a match. In particular, the offset /// returned *may be shorter* than the proper end of the leftmost-first /// match that you would find via [`Regex::find`]. diff --git a/src/regex/string.rs b/src/regex/string.rs index 880d6082a..035923d9c 100644 --- a/src/regex/string.rs +++ b/src/regex/string.rs @@ -952,7 +952,7 @@ impl Regex { /// Returns the end byte offset of the first match in the haystack given. /// /// This method may have the same performance characteristics as - /// `is_match`. Behaviorlly, it doesn't just report whether it match + /// `is_match`. Behaviorally, it doesn't just report whether it match /// occurs, but also the end offset for a match. In particular, the offset /// returned *may be shorter* than the proper end of the leftmost-first /// match that you would find via [`Regex::find`].