diff options
Diffstat (limited to 'src/pos.rs')
| -rw-r--r-- | src/pos.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -18,6 +18,7 @@ impl Pos { Pos {x, y} } + #[allow(dead_code)] pub fn clamp(self, smaller: Pos, larger: Pos) -> Pos { Pos { x: clamp(self.x, smaller.x, larger.x), |
