Skip to content

Commit

Permalink
updating doc comment
Browse files Browse the repository at this point in the history
Co-authored-by: Colin Rofls <[email protected]>
  • Loading branch information
arthmis and cmyr committed Jan 6, 2021
1 parent 38154dd commit 2cfa269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piet/src/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Expand Down

0 comments on commit 2cfa269

Please sign in to comment.