mirror of
https://github.com/bertptrs/tracing-mutex.git
synced 2025-12-27 05:20:32 +01:00
Do not allow recursive locks.
This commit is contained in:
@@ -357,7 +357,9 @@ mod tests {
|
||||
let mut edges = Vec::with_capacity(NUM_NODES * NUM_NODES);
|
||||
for i in 0..NUM_NODES {
|
||||
for j in i..NUM_NODES {
|
||||
edges.push((i, j));
|
||||
if i != j {
|
||||
edges.push((i, j));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user