about summary refs log tree commit diff
path: root/library/core/src/fmt
diff options
context:
space:
mode:
authorwhosehang <whosehang@outlook.com>2024-04-24 13:58:51 +0800
committerwhosehang <whosehang@outlook.com>2024-04-24 13:58:51 +0800
commit65d7c1d2d621c607174f429d5f7553210315dbae (patch)
treed39cf7e818aaa04cc1698e04e2da483a8339b802 /library/core/src/fmt
parentc1feb3eceef7d5f0126c309a87062cf413fe0a25 (diff)
chore: fix some typos in comments
Signed-off-by: whosehang <whosehang@outlook.com>
Diffstat (limited to 'library/core/src/fmt')
-rw-r--r--library/core/src/fmt/rt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/fmt/rt.rs b/library/core/src/fmt/rt.rs
index 5e4dac8f49b..92626feabf3 100644
--- a/library/core/src/fmt/rt.rs
+++ b/library/core/src/fmt/rt.rs
@@ -153,7 +153,7 @@ impl<'a> Argument<'a> {
     ///
     /// # Safety
     ///
-    /// This argument must actually be a placeholer argument.
+    /// This argument must actually be a placeholder argument.
     ///
     // FIXME: Transmuting formatter in new and indirectly branching to/calling
     // it here is an explicit CFI violation.