Skip to content

Commit a5256f3

Browse files
committed
Fix documentation test in graphics module
1 parent cdd0c10 commit a5256f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/graphics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ pub struct Cell {
8585
/// ```rust,no_run
8686
/// use arrayfire::{histogram, load_image, Window};
8787
/// let mut wnd = Window::new(1280, 720, String::from("Image Histogram"));
88-
/// let img = load_image("Path to image".to_string(), true/*If color image, 'false' otherwise*/);
88+
/// let img = load_image::<f32>("Path to image".to_string(), true/*If color image, 'false' otherwise*/);
8989
/// let hst = histogram(&img, 256, 0 as f64, 255 as f64);
9090
///
9191
/// loop {

0 commit comments

Comments
 (0)