Fix lint
This commit is contained in:
parent
ff49a95eca
commit
e8aee70a69
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ pub enum Location {
|
|||
}
|
||||
|
||||
impl Location {
|
||||
fn to_absolute(&self, top_left: Point, size: Size) -> Point {
|
||||
fn to_absolute(self, top_left: Point, size: Size) -> Point {
|
||||
match self {
|
||||
Location::TopLeft => top_left,
|
||||
Location::Top => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue