♻️ refactor(utils): remove unused get_start_boundary function
- remove the `get_start_boundary` function as it is no longer used
This commit is contained in:
committed by
Jeremiah Russell
parent
6f2262cdb3
commit
fea5c91dcb
@@ -55,11 +55,3 @@ impl Elide for String {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_start_boundary(string: String, mut start: usize) -> usize {
|
|
||||||
while !string.is_char_boundary(start) {
|
|
||||||
start -= 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
start
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user