forked from Deuxfleurs/garage
use impossible enum type
This commit is contained in:
parent
c106304b9c
commit
1d5bdc17a4
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ impl<T: InitialFormat> Migrate for T {
|
||||||
|
|
||||||
/// Internal type used by InitialFormat, not meant for general use.
|
/// Internal type used by InitialFormat, not meant for general use.
|
||||||
#[derive(Serialize, Deserialize)]
|
#[derive(Serialize, Deserialize)]
|
||||||
pub struct NoPrevious;
|
pub enum NoPrevious {}
|
||||||
|
|
||||||
impl Migrate for NoPrevious {
|
impl Migrate for NoPrevious {
|
||||||
type Previous = NoPrevious;
|
type Previous = NoPrevious;
|
||||||
|
|
Loading…
Reference in a new issue