From 2cfa269fea092c1a528cf7b3ba97cefbbbe9e288 Mon Sep 17 00:00:00 2001 From: arthmis Date: Wed, 6 Jan 2021 11:50:35 -0500 Subject: [PATCH] updating doc comment Co-authored-by: Colin Rofls --- piet/src/image.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piet/src/image.rs b/piet/src/image.rs index 2c984cda0..f6094a55a 100644 --- a/piet/src/image.rs +++ b/piet/src/image.rs @@ -137,7 +137,7 @@ impl ImageBuf { .unwrap() } - /// Checks whether two ImageBufs point to the same image data in memory. + /// Returns `true` if the two `ImageBuf`s refer to the same memory location. pub fn ptr_eq(&self, other: &ImageBuf) -> bool { Arc::ptr_eq(&self.raw_pixels_shared(), &other.raw_pixels_shared()) }