Skip to content

Commit 7c86638

Browse files
committed
ref: trim_left_matches -> trim_start_matches
1 parent 9a5f5e2 commit 7c86638

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backtrace_support.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ pub fn function_starts_with(mut func_name: &str, mut pattern: &str) -> bool {
256256
}
257257
}
258258
} else {
259-
func_name = func_name.trim_left_matches('<').trim_left_matches("_<");
259+
func_name = func_name.trim_start_matches('<').trim_start_matches("_<");
260260
}
261261

262262
if !func_name.is_char_boundary(pattern.len()) {

0 commit comments

Comments
 (0)