no idea why this is working now
This commit is contained in:
@@ -21,8 +21,7 @@ type ImageCache<'a> = HashMap<UrlKey<'a>, Promise<ehttp::Result<RetainedImage>>>
|
||||
|
||||
/// We derive Deserialize/Serialize so we can persist app state on shutdown.
|
||||
#[derive(serde::Deserialize, serde::Serialize)]
|
||||
#[serde(default)] // if we add new fields, give them default values when
|
||||
// deserializing old state
|
||||
#[serde(default)] // if we add new fields, give them default values when deserializing old state
|
||||
pub struct Damus<'a> {
|
||||
// Example stuff:
|
||||
label: String,
|
||||
|
||||
Reference in New Issue
Block a user