Skip to content

Commit 976ce29

Browse files
authored
Update testing.md
1 parent 4b536a6 commit 976ce29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/attributes/testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ The `cfg_panic` feature makes it possible to exercise different lines of code de
8787
The possible value is either `unwind` or `abort`.
8888
The following is a playful example on choosing the right beverage.
8989

90-
```toml
90+
```rust
9191
#![feature(cfg_panic)]
9292

9393
#[cfg(panic = "unwind")]
@@ -108,7 +108,7 @@ fn main(){
108108
```
109109

110110
Here is the same example rewritten.
111-
```toml
111+
```rust
112112
#![feature(cfg_panic)]
113113

114114
fn drink(beverage: &str) {

0 commit comments

Comments
 (0)