about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorFrank Steffahn <frank.steffahn@stu.uni-kiel.de>2021-08-22 18:15:49 +0200
committerFrank Steffahn <frank.steffahn@stu.uni-kiel.de>2021-08-22 18:15:49 +0200
commit2f9ddf3bc7cfa79d272b1409be80905be946d831 (patch)
treea88f54853c40da892b1da6ae223176df5ba6469b /compiler/rustc_span/src
parent2396fad0950980cd3bf53bc825cdfa79ec7fd85f (diff)
downloadrust-2f9ddf3bc7cfa79d272b1409be80905be946d831.tar.gz
rust-2f9ddf3bc7cfa79d272b1409be80905be946d831.zip
Fix typos “an”→“a” and a few different ones that appeared in the same search
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/source_map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/source_map.rs b/compiler/rustc_span/src/source_map.rs
index 77a3ad931d5..f700397fcdf 100644
--- a/compiler/rustc_span/src/source_map.rs
+++ b/compiler/rustc_span/src/source_map.rs
@@ -100,7 +100,7 @@ pub trait FileLoader {
     /// Query the existence of a file.
     fn file_exists(&self, path: &Path) -> bool;
 
-    /// Read the contents of an UTF-8 file into memory.
+    /// Read the contents of a UTF-8 file into memory.
     fn read_file(&self, path: &Path) -> io::Result<String>;
 }