Skip to content

Commit 2c90a37

Browse files
committed
Reformat match statement to make the check pass
1 parent 599cd68 commit 2c90a37

File tree

1 file changed

+1
-3
lines changed
  • src/liballoc/collections

1 file changed

+1
-3
lines changed

src/liballoc/collections/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@ impl Display for TryReserveError {
8989
TryReserveError::CapacityOverflow => {
9090
" because the computed capacity exceeded the collection's maximum"
9191
}
92-
TryReserveError::AllocError { .. } => {
93-
" because the memory allocator returned a error"
94-
}
92+
TryReserveError::AllocError { .. } => " because the memory allocator returned a error",
9593
};
9694
fmt.write_str(reason)
9795
}

0 commit comments

Comments
 (0)