diff options
author | Alex Auvolat <alex@adnab.me> | 2023-01-03 16:04:06 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-01-03 16:04:06 +0100 |
commit | 1d5bdc17a46648eb3494ff629d0d360d0217c1e2 (patch) | |
tree | 7fb21a559e53557d5dea5efd2b7dafe9f9751367 | |
parent | c106304b9cd325238742be4366877ed7316e7e28 (diff) | |
download | garage-1d5bdc17a46648eb3494ff629d0d360d0217c1e2.tar.gz garage-1d5bdc17a46648eb3494ff629d0d360d0217c1e2.zip |
use impossible enum type
-rw-r--r-- | src/util/migrate.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/migrate.rs b/src/util/migrate.rs index 00d81181..1229fd9c 100644 --- a/src/util/migrate.rs +++ b/src/util/migrate.rs @@ -58,7 +58,7 @@ impl<T: InitialFormat> Migrate for T { /// Internal type used by InitialFormat, not meant for general use. #[derive(Serialize, Deserialize)] -pub struct NoPrevious; +pub enum NoPrevious {} impl Migrate for NoPrevious { type Previous = NoPrevious; |