Skip to content

Commit

Permalink
edit example
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxiujia committed Jul 29, 2024
1 parent 83fe173 commit 8a46579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benches/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use test::{black_box, Bencher};
fn bench_log(b: &mut Bencher) {
struct BenchRecvLog {}
impl LogAppender for BenchRecvLog {
fn do_logs(&self, _records: &[FastLogRecord]) {
fn do_logs(&mut self, _records: &[FastLogRecord]) {
//nothing
}
}
Expand Down

0 comments on commit 8a46579

Please sign in to comment.