Remove the one use of P<[T]>.

A `Vec` is fine, the additional word (vector vs. boxed slice) doesn't
matter here.
This commit is contained in:
Nicholas Nethercote
2025-05-27 02:14:33 +10:00
parent 6973fa08a3
commit 0f285e346f
2 changed files with 2 additions and 2 deletions

View File

@@ -1714,7 +1714,7 @@ pub enum ExprKind {
///
/// Usually not written directly in user code but
/// indirectly via the macro `core::mem::offset_of!(...)`.
OffsetOf(P<Ty>, P<[Ident]>),
OffsetOf(P<Ty>, Vec<Ident>),
/// A macro invocation; pre-expansion.
MacCall(P<MacCall>),