remove is_noop
This commit is contained in:
parent
2f004d2d40
commit
4bd571c4ff
4 changed files with 4 additions and 8 deletions
|
@ -275,10 +275,6 @@ impl<'a, 'tcx> InternalSubsts<'tcx> {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn is_noop(&self) -> bool {
|
||||
self.is_empty()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn types(&'a self) -> impl DoubleEndedIterator<Item = Ty<'tcx>> + 'a {
|
||||
self.iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue