1
Fork 0

remove is_noop

This commit is contained in:
lcnr 2022-01-19 10:33:23 +01:00
parent 2f004d2d40
commit 4bd571c4ff
4 changed files with 4 additions and 8 deletions

View file

@ -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()