Skip to content

Commit 5ffea67

Browse files
committed
Correct Array::print doc test
1 parent 6d5ab72 commit 5ffea67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/array.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ impl Drop for Array {
364364
/// ```
365365
/// use arrayfire::{Dim4, print, randu};
366366
/// println!("Create a 5-by-3 matrix of random floats on the GPU");
367-
/// let dims = Dim4::new(&[3, 1, 1, 1]);
367+
/// let dims = Dim4::new(&[5, 3, 1, 1]);
368368
/// let a = randu::<f32>(dims);
369369
/// print(&a);
370370
/// ```

0 commit comments

Comments
 (0)