about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgoodmost <zhaohaiyang@outlook.com>2024-03-19 22:09:05 +0800
committergoodmost <zhaohaiyang@outlook.com>2024-03-19 22:09:05 +0800
commite7c3e049f8d6fa710d3c0ece5e1c7211c3a843dd (patch)
tree791c151788c1ab38569a6ba779c5ab1ebd15cc7d
parentb5dcaae8448ce700807c9d9fec4763ec00f7e976 (diff)
downloadrust-e7c3e049f8d6fa710d3c0ece5e1c7211c3a843dd.tar.gz
rust-e7c3e049f8d6fa710d3c0ece5e1c7211c3a843dd.zip
chore: fix typo
Signed-off-by: goodmost <zhaohaiyang@outlook.com>
-rw-r--r--clippy_lints/src/functions/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/functions/mod.rs b/clippy_lints/src/functions/mod.rs
index 96da2ec2a1a..9cc51fa8cd5 100644
--- a/clippy_lints/src/functions/mod.rs
+++ b/clippy_lints/src/functions/mod.rs
@@ -250,7 +250,7 @@ declare_clippy_lint! {
     ///
     /// ### Why is this bad?
     /// A `Result` is at least as large as the `Err`-variant. While we
-    /// expect that variant to be seldomly used, the compiler needs to reserve
+    /// expect that variant to be seldom used, the compiler needs to reserve
     /// and move that much memory every single time.
     /// Furthermore, errors are often simply passed up the call-stack, making
     /// use of the `?`-operator and its type-conversion mechanics. If the