about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src
diff options
context:
space:
mode:
authorcodehorseman <cricis@yeah.net>2022-03-16 20:12:30 +0800
committercodehorseman <cricis@yeah.net>2022-03-16 20:12:30 +0800
commit01dbfb3eb264135c432cef223848416f90dac290 (patch)
tree67e0a6d5e9a26aa88fe06b38651fe030d994f508 /compiler/rustc_ast_lowering/src
parentd8e564715e0eb17130e99e8fcc92a36fce7feaf5 (diff)
downloadrust-01dbfb3eb264135c432cef223848416f90dac290.tar.gz
rust-01dbfb3eb264135c432cef223848416f90dac290.zip
resolve the conflict in compiler/rustc_session/src/parse.rs
Signed-off-by: codehorseman <cricis@yeah.net>
Diffstat (limited to 'compiler/rustc_ast_lowering/src')
-rw-r--r--compiler/rustc_ast_lowering/src/item.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ast_lowering/src/item.rs b/compiler/rustc_ast_lowering/src/item.rs
index dc9bc3440d0..1784e4a6c63 100644
--- a/compiler/rustc_ast_lowering/src/item.rs
+++ b/compiler/rustc_ast_lowering/src/item.rs
@@ -26,7 +26,7 @@ pub(super) struct ItemLowerer<'a, 'lowering, 'hir> {
 }
 
 /// When we have a ty alias we *may* have two where clauses. To give the best diagnostics, we set the span
-/// to the where clause that is prefered, if it exists. Otherwise, it sets the span to the other where
+/// to the where clause that is preferred, if it exists. Otherwise, it sets the span to the other where
 /// clause if it exists.
 fn add_ty_alias_where_clause(
     generics: &mut ast::Generics,