mirror of
https://github.com/wezm/advent-of-code.git
synced 2024-12-18 18:29:55 +00:00
cargo fmt
This commit is contained in:
parent
dfa8f043e1
commit
2b44ec8aa9
1 changed files with 2 additions and 2 deletions
|
@ -3,6 +3,6 @@ pub struct Point(pub i32, pub i32);
|
|||
|
||||
impl Point {
|
||||
pub fn manhattan_distance(&self) -> i32 {
|
||||
self.0.abs() + self.1.abs()
|
||||
self.0.abs() + self.1.abs()
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue