File tree 1 file changed +0
-4
lines changed
1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,6 @@ impl Point {
86
86
87
87
impl From < u8 > for Point {
88
88
#[ inline]
89
- #[ must_use]
90
89
fn from ( value : u8 ) -> Self {
91
90
match value {
92
91
b'^' | b'U' => UP ,
@@ -110,7 +109,6 @@ impl Add for Point {
110
109
type Output = Self ;
111
110
112
111
#[ inline]
113
- #[ must_use]
114
112
fn add ( self , rhs : Self ) -> Self {
115
113
Point :: new ( self . x + rhs. x , self . y + rhs. y )
116
114
}
@@ -128,7 +126,6 @@ impl Mul<i32> for Point {
128
126
type Output = Self ;
129
127
130
128
#[ inline]
131
- #[ must_use]
132
129
fn mul ( self , rhs : i32 ) -> Self {
133
130
Point :: new ( self . x * rhs, self . y * rhs)
134
131
}
@@ -138,7 +135,6 @@ impl Sub for Point {
138
135
type Output = Self ;
139
136
140
137
#[ inline]
141
- #[ must_use]
142
138
fn sub ( self , rhs : Self ) -> Self {
143
139
Point :: new ( self . x - rhs. x , self . y - rhs. y )
144
140
}
You can’t perform that action at this time.
0 commit comments