Skip to content

Commit 2f27e50

Browse files
authored
Rollup merge of #104090 - wanghaha-dev:master, r=Dylan-DPC
Modify comment syntax error Modify comment syntax error
2 parents 9b98bbb + 18e2d73 commit 2f27e50

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)