We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f73fb44 + 7784a19 commit 1a5ecbfCopy full SHA for 1a5ecbf
src/persistence.rs
@@ -57,7 +57,7 @@ pub trait Persisting: Sized {
57
58
fn is_persisted(&self) -> bool { self.persistence().is_some() }
59
60
- fn is_dirty(&self) -> bool { self.persistence().map(|p| p.autosave).unwrap_or(true) }
+ fn is_dirty(&self) -> bool { self.persistence().map(|p| p.dirty).unwrap_or(true) }
61
62
fn mark_dirty(&mut self) {
63
if let Some(p) = self.persistence_mut() {
0 commit comments