aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-01-03 16:04:06 +0100
committerAlex Auvolat <alex@adnab.me>2023-01-03 16:04:06 +0100
commit1d5bdc17a46648eb3494ff629d0d360d0217c1e2 (patch)
tree7fb21a559e53557d5dea5efd2b7dafe9f9751367
parentc106304b9cd325238742be4366877ed7316e7e28 (diff)
downloadgarage-1d5bdc17a46648eb3494ff629d0d360d0217c1e2.tar.gz
garage-1d5bdc17a46648eb3494ff629d0d360d0217c1e2.zip
use impossible enum type
-rw-r--r--src/util/migrate.rs2
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;