mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 19:11:11 +01:00
Format carbon test files (#1197)
This commit is contained in:
@@ -23,10 +23,10 @@ class Point {
|
||||
|
||||
external impl Point as Vector {
|
||||
fn Add[me: Point](b: Point) -> Point {
|
||||
return {.x = me.x + b.x, .y = me.y + b.y};
|
||||
return {.x = me.x + b.x, .y = me.y + b.y};
|
||||
}
|
||||
fn Scale[me: Point](v: i32) -> Point {
|
||||
return {.x = me.x * v, .y = me.y * v};
|
||||
return {.x = me.x * v, .y = me.y * v};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user