Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-bonez committed Dec 2, 2024
1 parent ab494bc commit d021b85
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions core/startos/src/version/v0_3_6_alpha_6.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use exver::{PreReleaseSegment, VersionRange};

use super::v0_3_5::V0_3_0_COMPAT;
use super::{v0_3_6_alpha_5, VersionT};
use crate::db::model::Database;
use crate::notifications::{notify, NotificationLevel};
use crate::prelude::*;

Expand All @@ -18,13 +17,13 @@ pub struct Version;

impl VersionT for Version {
type Previous = v0_3_6_alpha_5::Version;
fn semver(&self) -> exver::Version {
fn semver(self) -> exver::Version {
V0_3_6_alpha_6.clone()
}
fn compat(&self) -> &'static VersionRange {
fn compat(self) -> &'static VersionRange {
&V0_3_0_COMPAT
}
fn up(&self, db: &mut Value) -> Result<(), Error> {
fn up(self, db: &mut Value) -> Result<(), Error> {
Ok(())
}
async fn post_up<'a>(self, ctx: &'a crate::context::RpcContext) -> Result<(), Error> {
Expand Down

0 comments on commit d021b85

Please sign in to comment.