Skip to content

Commit

Permalink
📦 switch to rust 1.81
Browse files Browse the repository at this point in the history
  • Loading branch information
salamaashoush committed Sep 28, 2024
1 parent dc2610e commit 8d12ad7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.80.0"
channel = "1.81.0"
profile = "default"
7 changes: 0 additions & 7 deletions src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,6 @@ impl Version {
pub fn is_nightly(&self) -> bool {
matches!(self, Self::Nightly(_))
}

pub fn digits_only(&self) -> Option<String> {
match self {
Self::Semver(v) => Some(v.to_string().trim_start_matches('v').to_string()),
_ => None,
}
}
}

impl<'de> serde::Deserialize<'de> for Version {
Expand Down

0 comments on commit 8d12ad7

Please sign in to comment.