diff options
| author | Michael Goulet <michael@errs.io> | 2024-05-13 14:34:47 -0400 | 
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-05-13 16:55:58 -0400 | 
| commit | fa84018c2ef0aa35e46f11dce87f3e0410fae9a4 (patch) | |
| tree | 82805a73ac639eb16f335902db412ce92d041dac /compiler/rustc_middle/src/ty/mod.rs | |
| parent | 3bcdf3058ef3eaef5042661cf8301acfbcddce65 (diff) | |
| download | rust-fa84018c2ef0aa35e46f11dce87f3e0410fae9a4.tar.gz rust-fa84018c2ef0aa35e46f11dce87f3e0410fae9a4.zip | |
Apply nits
Diffstat (limited to 'compiler/rustc_middle/src/ty/mod.rs')
| -rw-r--r-- | compiler/rustc_middle/src/ty/mod.rs | 1 | 
1 files changed, 0 insertions, 1 deletions
| diff --git a/compiler/rustc_middle/src/ty/mod.rs b/compiler/rustc_middle/src/ty/mod.rs index 02f6f4da4f1..dc5e881843a 100644 --- a/compiler/rustc_middle/src/ty/mod.rs +++ b/compiler/rustc_middle/src/ty/mod.rs @@ -629,7 +629,6 @@ impl<'tcx> Term<'tcx> { } } - /// This function returns the inner `AliasTy` for a `ty::Alias` or `ConstKind::Unevaluated`. pub fn to_alias_term(self) -> Option<AliasTerm<'tcx>> { match self.unpack() { TermKind::Ty(ty) => match *ty.kind() { | 
