Reformat match statement to make the check pass

This commit is contained in:
Lena Wildervanck 2020-03-11 17:55:14 +01:00
parent 599cd683ea
commit 2c90a37969
1 changed files with 1 additions and 3 deletions

View File

@ -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)
}