Skip to content

Commit

Permalink
Rollup merge of #104090 - wanghaha-dev:master, r=Dylan-DPC
Browse files Browse the repository at this point in the history
Modify comment syntax error

Modify comment syntax error
  • Loading branch information
Dylan-DPC authored Nov 7, 2022
2 parents 9b98bbb + 18e2d73 commit 2f27e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alloc/src/collections/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ impl Display for TryReserveError {
" because the computed capacity exceeded the collection's maximum"
}
TryReserveErrorKind::AllocError { .. } => {
" because the memory allocator returned a error"
" because the memory allocator returned an error"
}
};
fmt.write_str(reason)
Expand Down

0 comments on commit 2f27e50

Please sign in to comment.