no idea why this is working now

This commit is contained in:
William Casarin
2022-11-29 19:01:04 -08:00
parent 1db61f1ade
commit ad1a1dd774
4 changed files with 363 additions and 366 deletions

View File

@@ -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,