about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlbert Larsan <albert.larsan@gmail.com>2023-01-18 14:08:41 +0100
committerGitHub <noreply@github.com>2023-01-18 14:08:41 +0100
commit5a685a10ec9a8fb6d236f91ab11298c2cf0740c6 (patch)
tree7478d191b2d836f52864a3d824dbc59b5bb9b597
parent1f72129ffe5e8c495113f9a2d4e1730f7fad3209 (diff)
downloadrust-5a685a10ec9a8fb6d236f91ab11298c2cf0740c6.tar.gz
rust-5a685a10ec9a8fb6d236f91ab11298c2cf0740c6.zip
Correct typo
-rw-r--r--compiler/rustc_trait_selection/src/solve/project_goals.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/solve/project_goals.rs b/compiler/rustc_trait_selection/src/solve/project_goals.rs
index 0658836fb9c..a2aad049998 100644
--- a/compiler/rustc_trait_selection/src/solve/project_goals.rs
+++ b/compiler/rustc_trait_selection/src/solve/project_goals.rs
@@ -23,7 +23,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
         &mut self,
         goal: Goal<'tcx, ProjectionPredicate<'tcx>>,
     ) -> QueryResult<'tcx> {
-        // To only compute normalization ones for each projection we only
+        // To only compute normalization once for each projection we only
         // normalize if the expected term is an unconstrained inference variable.
         //
         // E.g. for `<T as Trait>::Assoc = u32` we recursively compute the goal