File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -497,7 +497,7 @@ fn example_18() -> Result<(), Error<Vec<i32>>> {
497497}
498498```
499499
500- # ` Skip `
500+ ## ` Skip `
501501
502502` Skip ` is a rule that applies a specific rule to the elements of the Iterator while skipping the elements according
503503to ` SkipOption ` .
@@ -540,17 +540,6 @@ impl<ITEM> SkipOption for NoSkip<ITEM> {
540540}
541541```
542542
543- ### ` NonEmptyVec ` to ` NonEmptyVecDeque ` using ` collect() `
544-
545- ``` rust
546- fn example_22 () -> anyhow :: Result <()> {
547- let ne_vec = NonEmptyVec :: new (vec! [1 , 2 , 3 ])? ;
548- let ne_vec_deque : NonEmptyVecDeque <i32 > = ne_vec . into_iter (). collect ();
549- assert_eq! (ne_vec_deque . into_value (), vec! [1 , 2 , 3 ]);
550- Ok (())
551- }
552- ```
553-
554543# Length
555544
556545You can impose constraints on objects that have a length, such as ` String ` or ` Vec ` .
You can’t perform that action at this time.
0 commit comments