about summary refs log tree commit diff
path: root/src/librustc
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2019-09-25 16:35:19 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2019-09-27 13:34:14 -0400
commit0a4d55ddb89521899da2d1b6bf047ce01386595e (patch)
tree23594a21293d9b5224eb95fa78c22271ff8c7e29 /src/librustc
parentf226ab4ad97fbc2e183d319616f17998c66f64e8 (diff)
downloadrust-0a4d55ddb89521899da2d1b6bf047ce01386595e.tar.gz
rust-0a4d55ddb89521899da2d1b6bf047ce01386595e.zip
Remove stray uses of gcx name
Diffstat (limited to 'src/librustc')
-rw-r--r--src/librustc/traits/query/type_op/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/traits/query/type_op/mod.rs b/src/librustc/traits/query/type_op/mod.rs
index e2a5cd9670e..989c4aeea09 100644
--- a/src/librustc/traits/query/type_op/mod.rs
+++ b/src/librustc/traits/query/type_op/mod.rs
@@ -66,7 +66,7 @@ pub trait QueryTypeOp<'tcx>: fmt::Debug + Sized + TypeFoldable<'tcx> + 'tcx {
         canonicalized: Canonicalized<'tcx, ParamEnvAnd<'tcx, Self>>,
     ) -> Fallible<CanonicalizedQueryResponse<'tcx, Self::QueryResponse>>;
 
-    /// Casts a lifted query result (which is in the gcx lifetime)
+    /// Casts a lifted query result (which is in the tcx lifetime)
     /// into the tcx lifetime. This is always just an identity cast,
     /// but the generic code doesn't realize it -- put another way, in
     /// the generic code, we have a `Lifted<'tcx, Self::QueryResponse>`