Skip to content

Commit

Permalink
Remove notrust in librustc_middle
Browse files Browse the repository at this point in the history
Fix #19599
This confuse people, no trust or not rust?
  • Loading branch information
pickfire committed Aug 29, 2020
1 parent 1dc748f commit 947b74b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_middle/ty/walk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Bar<isize>> => { Foo<Bar<isize>>, Bar<isize>, isize }
/// [isize] => { [isize], isize }
Expand All @@ -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<Bar<isize>> => { Foo<Bar<isize>>, Bar<isize>, isize }
/// [isize] => { [isize], isize }
Expand Down

0 comments on commit 947b74b

Please sign in to comment.