diff options
| author | Johannes Oertel <johannes.oertel@uni-due.de> | 2015-03-18 22:34:40 +0100 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-19 08:24:38 +0530 |
| commit | da96d22d3a8bd4ad74e797b823dd10a34d88991e (patch) | |
| tree | 1ec05321ccaff1581e1c6b6ad15baef5f781bddf /src/doc/reference.md | |
| parent | 12cb7c6a2847959460ecac75b2c983d071585472 (diff) | |
| download | rust-da96d22d3a8bd4ad74e797b823dd10a34d88991e.tar.gz rust-da96d22d3a8bd4ad74e797b823dd10a34d88991e.zip | |
Rename should_fail to should_panic in docs
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 3fae49bfc6d..92573d79217 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -2068,7 +2068,7 @@ type int8_t = i8; item](#language-items) for more details. - `test` - indicates that this function is a test function, to only be compiled in case of `--test`. -- `should_fail` - indicates that this test function should panic, inverting the success condition. +- `should_panic` - indicates that this test function should panic, inverting the success condition. - `cold` - The function is unlikely to be executed, so optimize it (and calls to it) differently. |
