about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2024-12-18 21:38:12 -0500
committerGitHub <noreply@github.com>2024-12-18 21:38:12 -0500
commit80cf85d5846d13fd8594caa2e476501bf78af8cd (patch)
treee30a5cacc0d8a3a6981dd4a425f10c10489f012a
parentba2ccc35f1996f6971f242a7aa0b01c20682b2d6 (diff)
parentf8cd8c1c37892378974766b4ce2eebd138ee70d9 (diff)
downloadrust-80cf85d5846d13fd8594caa2e476501bf78af8cd.tar.gz
rust-80cf85d5846d13fd8594caa2e476501bf78af8cd.zip
Rollup merge of #134490 - hong9lol:typo, r=jhpratt
Fix typo in ptr/mod.rs

- Type: Document
- Description: I found a typo and want to fix it.
-rw-r--r--library/core/src/ptr/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/ptr/mod.rs b/library/core/src/ptr/mod.rs
index 51ab2054b3b..1423e7ea8d1 100644
--- a/library/core/src/ptr/mod.rs
+++ b/library/core/src/ptr/mod.rs
@@ -84,7 +84,7 @@
 // ^ we use this term instead of saying that the produced reference must
 // be valid, as the validity of a reference is easily confused for the
 // validity of the thing it refers to, and while the two concepts are
-// closly related, they are not identical.
+// closely related, they are not identical.
 //!
 //! These rules apply even if the result is unused!
 //! (The part about being initialized is not yet fully decided, but until