This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// criterion = "0.5" | |
use std::collections::VecDeque; | |
use std::iter; | |
use std::rc::Rc; | |
use criterion::{Criterion, black_box}; | |
fn bench_method1(c: &mut Criterion) { | |
let v = VecDeque::from_iter(0..512); | |
c.bench_function("single", |b| { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
warning: unescaped backtick | |
--> /bytes-1.4.0/src/buf/buf_impl.rs:147:12 | |
| | |
147 | /// in `self. | |
| ^ | |
| | |
= note: `#[warn(rustdoc::unescaped_backticks)]` on by default | |
help: the closing backtick of an inline code may be missing | |
| | |
147 | /// in `self`. |