diff --git a/rust-toolchain.toml b/rust-toolchain.toml index dfd5bfe..bbf217f 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.80.0" +channel = "1.81.0" profile = "default" diff --git a/src/version.rs b/src/version.rs index c8e524e..eb52439 100644 --- a/src/version.rs +++ b/src/version.rs @@ -98,13 +98,6 @@ impl Version { pub fn is_nightly(&self) -> bool { matches!(self, Self::Nightly(_)) } - - pub fn digits_only(&self) -> Option { - match self { - Self::Semver(v) => Some(v.to_string().trim_start_matches('v').to_string()), - _ => None, - } - } } impl<'de> serde::Deserialize<'de> for Version {