Skip to content

Commit 1fbc409

Browse files
authored
Update fragments.rs
1 parent 028abfc commit 1fbc409

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lychee-lib/src/extract/fragments.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub fn generate_without_disambiguation(text: &str) -> String {
5050
// <https://www.unicode.org/Public/3.2-Update/SpecialCasing-3.2.0.txt>,
5151
// but GitHub's algorithm does not.
5252
REGEX_TO_REMOVE
53-
.split(&text)
53+
.split(text)
5454
.flat_map(str::chars)
5555
.map(|c| {
5656
match c {

0 commit comments

Comments
 (0)