Skip to content

Commit caa0e23

Browse files
authored
Rollup merge of rust-lang#104090 - wanghaha-dev:master, r=Dylan-DPC
Modify comment syntax error Modify comment syntax error
2 parents eb26a93 + f30e90c commit caa0e23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alloc/src/collections/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ impl Display for TryReserveError {
139139
" because the computed capacity exceeded the collection's maximum"
140140
}
141141
TryReserveErrorKind::AllocError { .. } => {
142-
" because the memory allocator returned a error"
142+
" because the memory allocator returned an error"
143143
}
144144
};
145145
fmt.write_str(reason)

0 commit comments

Comments
 (0)