Parcourir la source

Ignore a clippy warning of type `option_option`

Johannes Hofmann il y a 6 ans
Parent
révision
fc3397e34a
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3
    0
      src/block.rs

+ 3
- 0
src/block.rs Voir le fichier

152
         }
152
         }
153
     }
153
     }
154
 
154
 
155
+    /// Performs an internal iteration step. Returns `None` until there is a value for the iterator to
156
+    /// return. Returns `Some(None)` to end the iteration.
155
     #[inline]
157
     #[inline]
158
+    #[allow(clippy::option_option)]
156
     fn step(&mut self) -> Option<Option<Element<'a>>> {
159
     fn step(&mut self) -> Option<Option<Element<'a>>> {
157
         match self.state {
160
         match self.state {
158
             ElementsIterState::Group => {
161
             ElementsIterState::Group => {