mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-20 18:46:43 +00:00
Format carbon test files (#1197)
This commit is contained in:
1 parent
55b0a0e016
commit
958fb8e529
18 files changed
+22
-31
No files matched your search
@@ -21,10 +21,10 @@ class Point {
|
||||
var y: i32;
|
||||
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