fix docs-test
This commit is contained in:
parent
e811701067
commit
953204ecbc
1 changed files with 5 additions and 2 deletions
|
@ -19,7 +19,10 @@
|
|||
//!# Examples
|
||||
//!
|
||||
//! ```
|
||||
//! use r3vi::buffer::vec::*;
|
||||
//! use r3vi::{
|
||||
//! buffer::vec::*,
|
||||
//! view::sequence::*
|
||||
//! };
|
||||
//!
|
||||
//! let mut buffer = VecBuffer::<i32>::new();
|
||||
//! buffer.push(3);
|
||||
|
@ -27,7 +30,7 @@
|
|||
//! let projected_port = buffer.get_port()
|
||||
//! .to_sequence() // make SequenceView from Vec
|
||||
//! .map(|x| x + 10)
|
||||
//! .filter(|x| x > 10);
|
||||
//! .filter(|x| *x > 10);
|
||||
//!
|
||||
//! let projected_view = projected_port.get_view();
|
||||
//!
|
||||
|
|
Loading…
Reference in a new issue