Skip to content

Commit 9e86d76

Browse files
committed
fix compiler errors
Signed-off-by: onur-ozkan <work@onurozkan.dev>
1 parent 615131b commit 9e86d76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bootstrap/src/utils/exec.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ impl BootstrapCommand {
120120
Self { failure_behavior: BehaviorOnFailure::DelayFail, ..self }
121121
}
122122

123-
#[must_use]
123+
#[allow(dead_code)]
124124
pub fn fail_fast(self) -> Self {
125125
Self { failure_behavior: BehaviorOnFailure::Exit, ..self }
126126
}
@@ -275,7 +275,7 @@ impl CommandOutput {
275275
!self.is_success()
276276
}
277277

278-
#[must_use]
278+
#[allow(dead_code)]
279279
pub fn status(&self) -> Option<ExitStatus> {
280280
match self.status {
281281
CommandStatus::Finished(status) => Some(status),

0 commit comments

Comments
 (0)