Skip to content

Commit 6d46c6d

Browse files
committed
Fix lints
1 parent 8117f3e commit 6d46c6d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/util/point.rs

-4
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ impl Point {
8686

8787
impl From<u8> for Point {
8888
#[inline]
89-
#[must_use]
9089
fn from(value: u8) -> Self {
9190
match value {
9291
b'^' | b'U' => UP,
@@ -110,7 +109,6 @@ impl Add for Point {
110109
type Output = Self;
111110

112111
#[inline]
113-
#[must_use]
114112
fn add(self, rhs: Self) -> Self {
115113
Point::new(self.x + rhs.x, self.y + rhs.y)
116114
}
@@ -128,7 +126,6 @@ impl Mul<i32> for Point {
128126
type Output = Self;
129127

130128
#[inline]
131-
#[must_use]
132129
fn mul(self, rhs: i32) -> Self {
133130
Point::new(self.x * rhs, self.y * rhs)
134131
}
@@ -138,7 +135,6 @@ impl Sub for Point {
138135
type Output = Self;
139136

140137
#[inline]
141-
#[must_use]
142138
fn sub(self, rhs: Self) -> Self {
143139
Point::new(self.x - rhs.x, self.y - rhs.y)
144140
}

0 commit comments

Comments
 (0)