Reformat match statement to make the check pass
This commit is contained in:
parent
599cd683ea
commit
2c90a37969
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue