Skip to content

Commit

Permalink
Fix the doc issue described in #80 (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
parasyte authored Jul 19, 2020
1 parent b5b55c4 commit e3b10ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ impl Pixels {
/// assert_eq!(pixel_pos, (0, 20));
///
/// let pixel_pos = pixels.clamp_pixel_pos((11, 3000));
/// assert_eq!(pixel_pos, (11, 240));
/// assert_eq!(pixel_pos, (11, 239));
/// # Ok::<(), pixels::Error>(())
/// ```
pub fn clamp_pixel_pos(&self, pos: (isize, isize)) -> (usize, usize) {
Expand Down

0 comments on commit e3b10ab

Please # to comment.