Skip to content

Commit daaff44

Browse files
committed
Fix tidy formatting manually for E0423.md
1 parent 9cdcd0c commit daaff44

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

  • compiler/rustc_error_codes/src/error_codes

compiler/rustc_error_codes/src/error_codes/E0423.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,13 @@ fn h1() -> i32 {
4545
}
4646
```
4747

48-
49-
5048
### Enum types used as values
5149

5250
Enums are types and cannot be used directly as values.
5351

5452
```compile_fail,E0423
55-
fn main() {
53+
fn main(){
5654
let x = Option::<i32>;
57-
//~^ ERROR expected value, found enum `Option`
55+
//~^ ERROR expected value,found enum `Option`
5856
}
59-
```
57+
```

0 commit comments

Comments
 (0)