Skip to content

Commit 7e22e90

Browse files
committed
strip Default from Config and CiEnv
1 parent 0596a08 commit 7e22e90

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/bootstrap/src/core/config/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ pub const RUSTC_IF_UNCHANGED_ALLOWED_PATHS: &[&str] = &[
8888
/// filled out from the decoded forms of the structs below. For documentation
8989
/// on each field, see the corresponding fields in
9090
/// `bootstrap.example.toml`.
91-
#[derive(Default, Clone)]
91+
#[derive(Clone)]
9292
pub struct Config {
9393
pub change_id: Option<ChangeId>,
9494
pub bypass_bootstrap_lock: bool,

src/build_helper/src/ci.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
#[derive(Copy, Clone, PartialEq, Eq, Debug, Default)]
1+
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
22
pub enum CiEnv {
33
/// Not a CI environment.
4-
#[default]
54
None,
65
/// The GitHub Actions environment, for Linux (including Docker), Windows and macOS builds.
76
GitHubActions,

0 commit comments

Comments
 (0)