mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-07-26 16:08:13 +00:00
use impossible enum type
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user