about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGenYuLi <witherslin@synology.com>2025-04-12 22:26:38 +0800
committerGenYuLi <witherslin@synology.com>2025-04-12 22:26:38 +0800
commit1baa62e88494e84c30d293c31b1d214cbe4bc643 (patch)
treeaf7ede78efd9e3c8752fc3c4f0232857e573a76c
parent1bc56185ee257ed829a0aea7abdc3b03c5fed887 (diff)
downloadrust-1baa62e88494e84c30d293c31b1d214cbe4bc643.tar.gz
rust-1baa62e88494e84c30d293c31b1d214cbe4bc643.zip
Fix typo in documentation
Correct the misspelling of "indentifier" to "identifier" in `library/alloc/src/fmt.rs`.
-rw-r--r--library/alloc/src/fmt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/fmt.rs b/library/alloc/src/fmt.rs
index e40de13f3d4..30f42050ac8 100644
--- a/library/alloc/src/fmt.rs
+++ b/library/alloc/src/fmt.rs
@@ -109,7 +109,7 @@
 //! parameters (corresponding to `format_spec` in [the syntax](#syntax)). These
 //! parameters affect the string representation of what's being formatted.
 //!
-//! The colon `:` in format syntax divides indentifier of the input data and
+//! The colon `:` in format syntax divides identifier of the input data and
 //! the formatting options, the colon itself does not change anything, only
 //! introduces the options.
 //!