Skip to content

Commit ba39606

Browse files
committed
f "in a crate" not "in a frame"
1 parent c678031 commit ba39606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/debug_sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ impl std::hash::Hash for LockDep {
9595
fn get_construction_location(backtrace: &Backtrace) -> String {
9696
// Find the first frame that is after `debug_sync` (or that is in our tests) and use
9797
// that as the mutex construction site. Note that the first few frames may be in
98-
// `backtrace`, so we have to ignore those.
98+
// the `backtrace` crate, so we have to ignore those.
9999
let sync_mutex_constr_regex = regex::Regex::new(r"lightning.*debug_sync.*new").unwrap();
100100
let mut found_debug_sync = false;
101101
for frame in backtrace.frames() {

0 commit comments

Comments
 (0)