Skip to content

Commit 391e66e

Browse files
committed
[crox] Fix build warning about missing dyn keyword
1 parent afe37f9 commit 391e66e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crox/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ struct Opt {
4444
file_prefix: PathBuf,
4545
}
4646

47-
fn main() -> Result<(), Box<std::error::Error>> {
47+
fn main() -> Result<(), Box<dyn std::error::Error>> {
4848
let opt = Opt::from_args();
4949

5050
let data = ProfilingData::new(&opt.file_prefix)?;

0 commit comments

Comments
 (0)