Skip to content

ManagedMap benchmark sc + interactor #891

ManagedMap benchmark sc + interactor

ManagedMap benchmark sc + interactor #891

Triggered via pull request March 31, 2026 09:08
Status Success
Total duration 12s
Artifacts

typo-checker.yml

on: pull_request
Typo Checker
7s
Typo Checker
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
[clippy] contracts/benchmarks/managed-map-benchmark/interactor/src/config.rs#L25: contracts/benchmarks/managed-map-benchmark/interactor/src/config.rs#L25
warning: you should consider adding a `Default` implementation for `Config` --> contracts/benchmarks/managed-map-benchmark/interactor/src/config.rs:25:5 | 25 | / pub fn new() -> Self { 26 | | let mut file = std::fs::File::open(CONFIG_FILE).unwrap(); 27 | | let mut content = String::new(); 28 | | file.read_to_string(&mut content).unwrap(); 29 | | toml::from_str(&content).unwrap() 30 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default = note: `#[warn(clippy::new_without_default)]` on by default help: try adding this | 23 + impl Default for Config { 24 + fn default() -> Self { 25 + Self::new() 26 + } 27 + } |
[clippy] contracts/benchmarks/managed-map-benchmark/interactor/src/config.rs#L25: contracts/benchmarks/managed-map-benchmark/interactor/src/config.rs#L25
warning: you should consider adding a `Default` implementation for `Config` --> contracts/benchmarks/managed-map-benchmark/interactor/src/config.rs:25:5 | 25 | / pub fn new() -> Self { 26 | | let mut file = std::fs::File::open(CONFIG_FILE).unwrap(); 27 | | let mut content = String::new(); 28 | | file.read_to_string(&mut content).unwrap(); 29 | | toml::from_str(&content).unwrap() 30 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default = note: `#[warn(clippy::new_without_default)]` on by default help: try adding this | 23 + impl Default for Config { 24 + fn default() -> Self { 25 + Self::new() 26 + } 27 + } |