about summary refs log tree commit diff
path: root/src/parse
diff options
context:
space:
mode:
authorCaleb Cartwright <caleb.cartwright@outlook.com>2022-06-12 22:03:05 -0500
committerCaleb Cartwright <caleb.cartwright@outlook.com>2022-06-12 22:03:05 -0500
commitd03a547cad3ce8a3dc3b424156e0eec38475da1b (patch)
tree23ecdfe3dc41222a8736bbd4b7ce45bc2398dab5 /src/parse
parent9b697d0b90f2e6e021564454c5481e2b1b3c0df4 (diff)
Merge commit '7b73b60faca71d01d900e49831fcb84553e93019' into sync-rustfmt
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/session.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/session.rs b/src/parse/session.rs
index 4408e20747a..a0f71c2b8ba 100644
--- a/src/parse/session.rs
+++ b/src/parse/session.rs
@@ -170,7 +170,7 @@ impl ParseSess {
     /// * `relative` - If Some(symbol), the symbol name is a directory relative to the dir_path.
     ///   If relative is Some, resolve the submodle at {dir_path}/{symbol}/{id}.rs
     ///   or {dir_path}/{symbol}/{id}/mod.rs. if None, resolve the module at {dir_path}/{id}.rs.
-    /// *  `dir_path` - Module resolution will occur relative to this direcotry.
+    /// *  `dir_path` - Module resolution will occur relative to this directory.
     pub(crate) fn default_submod_path(
         &self,
         id: symbol::Ident,