We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33347e0 commit 436f2caCopy full SHA for 436f2ca
mullvad-daemon/src/migrations/vX.rs.template
@@ -26,7 +26,7 @@ pub fn migrate(settings: &mut serde_json::Value) -> Result<()> {
26
Ok(())
27
}
28
29
-fn version_matches(settings: &mut serde_json::Value) -> bool {
+fn version_matches(settings: &serde_json::Value) -> bool {
30
settings
31
.get("settings_version")
32
// TODO
@@ -37,7 +37,6 @@ fn version_matches(settings: &mut serde_json::Value) -> bool {
37
#[cfg(test)]
38
mod test {
39
use super::{migrate, version_matches};
40
- use serde_json;
41
42
// TODO: Implement tests. Look at other migration modules for inspiration.
43
0 commit comments