about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-03-06 20:21:00 +0100
committerRalf Jung <post@ralfj.de>2024-03-07 07:49:22 +0100
commit1a2bc1102d9502a5058585f6422a974323a884a7 (patch)
tree6c4fd55aea99098489c976397c135054ecd63881 /library/alloc/src
parentaa029ce4d8f5048dafd44b6af794542ee19f7c37 (diff)
downloadrust-1a2bc1102d9502a5058585f6422a974323a884a7.tar.gz
rust-1a2bc1102d9502a5058585f6422a974323a884a7.zip
Rust is a proper name: rust → Rust
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/raw_vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/raw_vec.rs b/library/alloc/src/raw_vec.rs
index dd8d6f6c7e6..4d9694d4beb 100644
--- a/library/alloc/src/raw_vec.rs
+++ b/library/alloc/src/raw_vec.rs
@@ -259,7 +259,7 @@ impl<T, A: Allocator> RawVec<T, A> {
         } else {
             // We could use Layout::array here which ensures the absence of isize and usize overflows
             // and could hypothetically handle differences between stride and size, but this memory
-            // has already been allocated so we know it can't overflow and currently rust does not
+            // has already been allocated so we know it can't overflow and currently Rust does not
             // support such types. So we can do better by skipping some checks and avoid an unwrap.
             const { assert!(mem::size_of::<T>() % mem::align_of::<T>() == 0) };
             unsafe {