diff options
| author | wanghaha-dev <mail65656@163.com> | 2022-11-07 14:33:33 +0800 |
|---|---|---|
| committer | wanghaha-dev <mail65656@163.com> | 2022-11-07 14:33:33 +0800 |
| commit | 009f80b987214aaae42c94d2fc8a33aaf689ab69 (patch) | |
| tree | 0d0a498148514c2ebce4c194681f4985889d3579 /library/alloc | |
| parent | 7eef946fc0e0eff40e588eab77b09b287accbec3 (diff) | |
| download | rust-009f80b987214aaae42c94d2fc8a33aaf689ab69.tar.gz rust-009f80b987214aaae42c94d2fc8a33aaf689ab69.zip | |
Modify comment syntax error
Diffstat (limited to 'library/alloc')
| -rw-r--r-- | library/alloc/src/collections/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/collections/mod.rs b/library/alloc/src/collections/mod.rs index 161a375736c..3e0b0f73550 100644 --- a/library/alloc/src/collections/mod.rs +++ b/library/alloc/src/collections/mod.rs @@ -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) |
