Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Carton <cartonmartin+github@gmail.com>
  • Loading branch information
ecstatic-morse and mcarton committed May 4, 2020
1 parent d7f1562 commit 275f29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/0000-inline-const.md
Expand Up @@ -93,7 +93,7 @@ fn foo(x: &i32) -> &i32 {
if *x < 0 { const { &4i32.pow(4) } } else { x }
}

fn foo() -> &u32 {0..5
fn foo() -> &u32 {
let three_ranges = [const { (0..=5).into_inner() }; 3];
}
```
Expand Down

0 comments on commit 275f29d

Please sign in to comment.