about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohannes Rudolph <johannes.rudolph@gmail.com>2024-02-22 09:30:03 +0100
committerGitHub <noreply@github.com>2024-02-22 09:30:03 +0100
commitc276af2373694d1c75f05619004ce34c55ceb2e8 (patch)
tree2153cb28602d93c5cd00d2627379fce10e1b10b5
parent026b3b8e955e0571db39aa96fc9d7aba25cc4d66 (diff)
downloadrust-c276af2373694d1c75f05619004ce34c55ceb2e8.tar.gz
rust-c276af2373694d1c75f05619004ce34c55ceb2e8.zip
Fix typo in metadata.rs doc comment
-rw-r--r--library/core/src/ptr/metadata.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/ptr/metadata.rs b/library/core/src/ptr/metadata.rs
index c7b0fe5694a..fe19f66a31a 100644
--- a/library/core/src/ptr/metadata.rs
+++ b/library/core/src/ptr/metadata.rs
@@ -163,7 +163,7 @@ impl<T: ?Sized> Clone for PtrComponents<T> {
 /// It is a pointer to a vtable (virtual call table)
 /// that represents all the necessary information
 /// to manipulate the concrete type stored inside a trait object.
-/// The vtable notably it contains:
+/// The vtable notably contains:
 ///
 /// * type size
 /// * type alignment