Skip to content

Commit

Permalink
Reformat match statement to make the check pass
Browse files Browse the repository at this point in the history
  • Loading branch information
LenaWil committed Mar 11, 2020
1 parent 599cd68 commit 2c90a37
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/liballoc/collections/mod.rs
Expand Up @@ -89,9 +89,7 @@ impl Display for TryReserveError {
TryReserveError::CapacityOverflow => {
" because the computed capacity exceeded the collection's maximum"
}
TryReserveError::AllocError { .. } => {
" because the memory allocator returned a error"
}
TryReserveError::AllocError { .. } => " because the memory allocator returned a error",
};
fmt.write_str(reason)
}
Expand Down

0 comments on commit 2c90a37

Please sign in to comment.