Skip to content

Commit a99cb91

Browse files
committed
fix two tests
1 parent df1587f commit a99cb91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rust-next/const-fn.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ enum Error {
7474
const fn foo() {
7575
let array = [1, 2, 3];
7676
77-
let struct = Point {
77+
let point = Point {
7878
x: 5,
7979
y: 10,
8080
};
@@ -129,7 +129,7 @@ struct Point {
129129
}
130130
131131
const fn foo() {
132-
let struct = Point {
132+
let point = Point {
133133
x: 5,
134134
y: 10,
135135
};

0 commit comments

Comments
 (0)