diff options
| author | bors <bors@rust-lang.org> | 2015-11-28 16:22:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-11-28 16:22:27 +0000 |
| commit | 5ea65c03d96875a41c556ccd949617d4830e0ee9 (patch) | |
| tree | 4dd1789bb93905906f41445599b20f620a57dd7b /src/rustllvm/RustWrapper.cpp | |
| parent | 9e05951f1f9493a3a397ae93cd5be51ec4659cde (diff) | |
| parent | ff339bd6f906754bbb6e2e249322a5bc79433329 (diff) | |
| download | rust-5ea65c03d96875a41c556ccd949617d4830e0ee9.tar.gz rust-5ea65c03d96875a41c556ccd949617d4830e0ee9.zip | |
Auto merge of #30074 - jonas-schievink:macro-doc, r=sanxiyn
Fixes #17616
New docs for `panic!`:
```rust
macro_rules! panic {
() => { ... };
($msg:expr) => { ... };
($fmt:expr, $($arg:tt)+) => { ... };
}
```
New docs for `assert!`:
```rust
macro_rules! assert {
( $ cond : expr ) => { ... };
(
$ cond : expr , $ ( $ arg : tt ) + ) => { ... };
}
```
<sup>not pretty, but at least it's not worse :joy:
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
