Skip to content

Commit 272d1d5

Browse files
committed
style: Fix clippy
1 parent 021ba2c commit 272d1d5

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

  • workflow/deployer-workflow/impl-flyio/src

workflow/deployer-workflow/impl-flyio/src/lib.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
mod generated {
2+
#![allow(clippy::empty_line_after_outer_attr)]
23
include!(concat!(env!("OUT_DIR"), "/generated.rs"));
34
}
45
use const_format::formatcp;
@@ -109,7 +110,7 @@ fn app_modify_without_cleanup(
109110
let exec_response = activity_fly_http::machines::exec(
110111
app_name,
111112
&temp_vm,
112-
&vec![
113+
&[
113114
"sh".to_string(),
114115
"-c".to_string(),
115116
format!("cat <<EOF > {OBELISK_TOML_PATH}\n{obelisk_toml}"),
@@ -125,7 +126,7 @@ fn app_modify_without_cleanup(
125126
let exec_response = activity_fly_http::machines::exec(
126127
app_name,
127128
&temp_vm,
128-
&vec![
129+
&[
129130
OBELISK_BIN_PATH.to_string(),
130131
"server".to_string(),
131132
"verify".to_string(),
@@ -180,7 +181,7 @@ impl Guest for Component {
180181
})
181182
}
182183

183-
fn serve(app_name: String) -> Result<(), ServeError> {
184+
fn serve(_app_name: String) -> Result<(), ServeError> {
184185
todo!()
185186
}
186187
}

0 commit comments

Comments
 (0)