]> git.proxmox.com Git - rustc.git/blobdiff - vendor/rayon/src/iter/chunks.rs
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / vendor / rayon / src / iter / chunks.rs
index 330a49dcbb98789a1d5387bfd91b0591e5860250..be5f84cc7580b3c2b3a6ed459b6cae0e9ced5191 100644 (file)
@@ -2,7 +2,7 @@ use std::cmp::min;
 
 use super::plumbing::*;
 use super::*;
-use math::div_round_up;
+use crate::math::div_round_up;
 
 /// `Chunks` is an iterator that groups elements of an underlying iterator.
 ///
@@ -24,7 +24,7 @@ impl<I> Chunks<I>
 where
     I: IndexedParallelIterator,
 {
-    /// Create a new `Chunks` iterator
+    /// Creates a new `Chunks` iterator
     pub(super) fn new(i: I, size: usize) -> Self {
         Chunks { i, size }
     }