Skip to content

Commit

Permalink
Fix compilation after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ascjones committed Jun 22, 2021
1 parent e4d570d commit 271c2b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ty/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ pub enum TypeDef<T: Form = MetaForm> {
/// A type using the [`Compact`] encoding
Compact(TypeDefCompact<T>),
/// A PhantomData type.
Phantom(TypeDefPhantom<T>),
Phantom(TypeDefPhantom),
/// A type representing a sequence of bits.
BitSequence(TypeDefBitSequence<T>),
}
Expand All @@ -214,7 +214,7 @@ impl IntoPortable for TypeDef {
TypeDef::Tuple(tuple) => tuple.into_portable(registry).into(),
TypeDef::Primitive(primitive) => primitive.into(),
TypeDef::Compact(compact) => compact.into_portable(registry).into(),
TypeDef::Phantom(phantom) => phantom.into_portable(registry).into(),
TypeDef::Phantom(phantom) => phantom.into(),
TypeDef::BitSequence(bitseq) => bitseq.into_portable(registry).into(),
}
}
Expand Down

0 comments on commit 271c2b5

Please sign in to comment.