about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-02-22 18:09:55 +0100
committerGitHub <noreply@github.com>2024-02-22 18:09:55 +0100
commite064bf639b160216cae3c0ae61574abf57993e9a (patch)
tree57a6c07dd2574a7202839797b51d2caec0bf971e
parent01ec4eb319455877dfda420c90e341e5d5a4fd80 (diff)
parentc276af2373694d1c75f05619004ce34c55ceb2e8 (diff)
downloadrust-e064bf639b160216cae3c0ae61574abf57993e9a.tar.gz
rust-e064bf639b160216cae3c0ae61574abf57993e9a.zip
Rollup merge of #121439 - jrudolph:patch-1, r=bjorn3
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