Skip to content

Commit

Permalink
fix two tests
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed Jun 3, 2020
1 parent df1587f commit a99cb91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rust-next/const-fn.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ enum Error {
const fn foo() {
let array = [1, 2, 3];
let struct = Point {
let point = Point {
x: 5,
y: 10,
};
Expand Down Expand Up @@ -129,7 +129,7 @@ struct Point {
}
const fn foo() {
let struct = Point {
let point = Point {
x: 5,
y: 10,
};
Expand Down

0 comments on commit a99cb91

Please sign in to comment.