We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cc85c7 commit 7ab0aa0Copy full SHA for 7ab0aa0
src/attributes/testing.md
@@ -88,7 +88,6 @@ The possible value is either `unwind` or `abort`.
88
The following is a playful example on choosing the right beverage.
89
90
```rust
91
-#![feature(cfg_panic)]
92
93
#[cfg(panic = "unwind")]
94
fn ah(){ println!("Spit it out!!!!");}
@@ -109,7 +108,6 @@ fn main(){
109
108
110
Here is the same example rewritten.
111
112
113
114
fn drink(beverage: &str) {
115
// You shouldn't drink too much sugary beverages.
0 commit comments