Skip to content

Commit f352115

Browse files
Auto-format: cargo fmt --all
1 parent 2458909 commit f352115

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crates/vm/src/builtins/type.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -847,9 +847,7 @@ impl PyType {
847847
if self.tp_version_tag.load(Ordering::Acquire) != tp_version {
848848
return None;
849849
}
850-
guard
851-
.as_ref()
852-
.map(|init| init.to_owned())
850+
guard.as_ref().map(|init| init.to_owned())
853851
}
854852

855853
/// Cache __getitem__ for BINARY_OP_SUBSCR_GETITEM specialization.

0 commit comments

Comments
 (0)