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.
1 parent dd5caa7 commit a2aba86Copy full SHA for a2aba86
rust/boil/src/build/cli.rs
@@ -120,6 +120,7 @@ impl BuildArguments {
120
"0.0.0-dev".parse().expect("must be a valid SemVer")
121
}
122
123
+ // TODO: Auto-detect this
124
fn default_architecture() -> TargetPlatform {
125
TargetPlatform::Linux(Architecture::Amd64)
126
rust/boil/src/main.rs
@@ -50,7 +50,8 @@ pub trait VersionExt {
50
51
impl VersionExt for Version {
52
fn base(&self) -> String {
53
- format!("{}.{}.{}", self.major, self.minor, self.patch)
+ let Self {major, minor, patch, ..} = self;
54
+ format!("{major}.{minor}.{patch}")
55
56
57
fn base_prerelease(&self) -> String {
0 commit comments