Skip to content

Commit 85a400d

Browse files
authored
Remove notrust in rustc_middle
Fix rust-lang#19599 This confuse people, no trust or not rust? Or not rust no trust? Only trust rust ^^
1 parent 3b4797c commit 85a400d

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_middle/src/ty

1 file changed

+2
-2
lines changed

compiler/rustc_middle/src/ty/walk.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl GenericArg<'tcx> {
5555
/// that appear in `self`, it does not descend into the fields of
5656
/// structs or variants. For example:
5757
///
58-
/// ```notrust
58+
/// ```text
5959
/// isize => { isize }
6060
/// Foo<Bar<isize>> => { Foo<Bar<isize>>, Bar<isize>, isize }
6161
/// [isize] => { [isize], isize }
@@ -80,7 +80,7 @@ impl<'tcx> super::TyS<'tcx> {
8080
/// that appear in `self`, it does not descend into the fields of
8181
/// structs or variants. For example:
8282
///
83-
/// ```notrust
83+
/// ```text
8484
/// isize => { isize }
8585
/// Foo<Bar<isize>> => { Foo<Bar<isize>>, Bar<isize>, isize }
8686
/// [isize] => { [isize], isize }

0 commit comments

Comments
 (0)