Skip to content

Commit a093e4d

Browse files
generatedunixname89002005320881meta-codesync[bot]
authored andcommitted
Fix clippy::len_zero issues in fbcode/eden/scm/lib/indexedlog/src
Reviewed By: cjlongoria Differential Revision: D90659994 fbshipit-source-id: 94d07003c3f49908d61ab69449b454d8cc791620
1 parent 75f050b commit a093e4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eden/scm/lib/indexedlog/src/index.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1389,7 +1389,7 @@ impl MemKey {
13891389

13901390
#[inline]
13911391
fn is_unused(&self) -> bool {
1392-
self.key.len() == 0
1392+
self.key.is_empty()
13931393
}
13941394
}
13951395

0 commit comments

Comments
 (0)