Skip to content

Commit 09bbb25

Browse files
committed
chore: fmt
1 parent ee5eb4d commit 09bbb25

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

cli/src/cast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ async fn main() -> eyre::Result<()> {
716716
}
717717
},
718718
Subcommands::Completions { shell } => {
719-
generate(shell, &mut Opts::into_app(), "cast", &mut std::io::stdout())
719+
generate(shell, &mut Opts::command(), "cast", &mut std::io::stdout())
720720
}
721721
};
722722
Ok(())

cli/src/forge.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ fn main() -> eyre::Result<()> {
7575
cmd.run()?;
7676
}
7777
Subcommands::Completions { shell } => {
78-
generate(shell, &mut Opts::into_app(), "forge", &mut std::io::stdout())
78+
generate(shell, &mut Opts::command(), "forge", &mut std::io::stdout())
7979
}
8080
Subcommands::Clean { root } => {
8181
let root = root.unwrap_or_else(|| std::env::current_dir().unwrap());

forge/src/executor/inspector/logs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ use revm::{db::Database, opcode, CallInputs, EVMData, Gas, Inspector, Interprete
1111
/// An inspector that collects logs during execution.
1212
///
1313
/// The inspector collects logs from the LOG opcodes as well as Hardhat-style logs.
14+
#[derive(Default)]
1415
pub struct LogCollector {
1516
pub logs: Vec<RawLog>,
1617
}

0 commit comments

Comments
 (0)