about summary refs log tree commit diff
path: root/clippy_utils/src/source.rs
diff options
context:
space:
mode:
authorwhodi <whodi@pop-os.localdomain>2022-04-15 14:25:55 -0400
committerManish Goregaokar <manishsmail@gmail.com>2022-04-15 14:18:09 -0700
commit29ef80c78a0f9c58607944e50d3240eee2b7cdc7 (patch)
tree24003199ba08dd7043408fef8799a335c88aecfd /clippy_utils/src/source.rs
parentc0fce5a8475927a7dc5f56f4efb2468aa87a4da0 (diff)
downloadrust-29ef80c78a0f9c58607944e50d3240eee2b7cdc7.tar.gz
rust-29ef80c78a0f9c58607944e50d3240eee2b7cdc7.zip
adding spell checking
Diffstat (limited to 'clippy_utils/src/source.rs')
-rw-r--r--clippy_utils/src/source.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_utils/src/source.rs b/clippy_utils/src/source.rs
index beed7326803..c69a3d8d2a1 100644
--- a/clippy_utils/src/source.rs
+++ b/clippy_utils/src/source.rs
@@ -108,7 +108,7 @@ pub fn is_present_in_source<T: LintContext>(cx: &T, span: Span) -> bool {
     true
 }
 
-/// Returns the positon just before rarrow
+/// Returns the position just before rarrow
 ///
 /// ```rust,ignore
 /// fn into(self) -> () {}