Skip to content

Commit 755c0a8

Browse files
Auto-format: cargo fmt --all
1 parent c29d54a commit 755c0a8

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
@@ -1381,9 +1381,7 @@ impl Constructor for PyType {
13811381
// Validate that all slots are valid identifiers
13821382
for slot in slots.iter() {
13831383
if !slot.isidentifier() {
1384-
return Err(
1385-
vm.new_type_error("__slots__ must be identifiers".to_owned())
1386-
);
1384+
return Err(vm.new_type_error("__slots__ must be identifiers".to_owned()));
13871385
}
13881386
}
13891387

0 commit comments

Comments
 (0)