From a5256f3e5e23b83eaad69699e0b04653aba04fb8 Mon Sep 17 00:00:00 2001 From: pradeep Date: Thu, 27 Sep 2018 17:03:51 +0530 Subject: [PATCH] Fix documentation test in graphics module --- src/graphics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics.rs b/src/graphics.rs index 951e12ce2..b2cadfeb4 100644 --- a/src/graphics.rs +++ b/src/graphics.rs @@ -85,7 +85,7 @@ pub struct Cell { /// ```rust,no_run /// use arrayfire::{histogram, load_image, Window}; /// let mut wnd = Window::new(1280, 720, String::from("Image Histogram")); -/// let img = load_image("Path to image".to_string(), true/*If color image, 'false' otherwise*/); +/// let img = load_image::("Path to image".to_string(), true/*If color image, 'false' otherwise*/); /// let hst = histogram(&img, 256, 0 as f64, 255 as f64); /// /// loop {