From 953204ecbc0c3bcffe4b3a734b6ceac798a0289d Mon Sep 17 00:00:00 2001 From: Michael Sippel Date: Tue, 19 Mar 2024 21:50:50 +0100 Subject: [PATCH] fix docs-test --- src/lib.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 9783281..e718fe0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,7 +19,10 @@ //!# Examples //! //! ``` -//! use r3vi::buffer::vec::*; +//! use r3vi::{ +//! buffer::vec::*, +//! view::sequence::* +//! }; //! //! let mut buffer = VecBuffer::::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(); //!