From 85a400d44e44309c3ddda538355aeb0829fafb42 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Mon, 31 Aug 2020 22:10:09 +0800 Subject: [PATCH] Remove notrust in rustc_middle Fix #19599 This confuse people, no trust or not rust? Or not rust no trust? Only trust rust ^^ --- compiler/rustc_middle/src/ty/walk.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/rustc_middle/src/ty/walk.rs b/compiler/rustc_middle/src/ty/walk.rs index 82c649b8f543b..ece8da7e51e34 100644 --- a/compiler/rustc_middle/src/ty/walk.rs +++ b/compiler/rustc_middle/src/ty/walk.rs @@ -55,7 +55,7 @@ impl GenericArg<'tcx> { /// that appear in `self`, it does not descend into the fields of /// structs or variants. For example: /// - /// ```notrust + /// ```text /// isize => { isize } /// Foo> => { Foo>, Bar, isize } /// [isize] => { [isize], isize } @@ -80,7 +80,7 @@ impl<'tcx> super::TyS<'tcx> { /// that appear in `self`, it does not descend into the fields of /// structs or variants. For example: /// - /// ```notrust + /// ```text /// isize => { isize } /// Foo> => { Foo>, Bar, isize } /// [isize] => { [isize], isize }