diff options
| author | Mei <[email protected]> | 2017-04-14 21:53:10 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-04-14 21:53:10 -0400 |
| commit | d4fc8b6188627ae8d553cf282b1371e3de7b01f9 (patch) | |
| tree | 65fca81a14bbd5f108be0ba251e6ba5c8de2f551 /examples/05_command_framework/src | |
| parent | Default to using [0, 1] shards (diff) | |
| download | serenity-d4fc8b6188627ae8d553cf282b1371e3de7b01f9.tar.xz serenity-d4fc8b6188627ae8d553cf282b1371e3de7b01f9.zip | |
Fix example in README
The example in the README would fail to compile due to an error:
```
--> src/main.rs:15:1
|
15 | command!(ping(_context, message) {
| ^^^^^^^
error: aborting due to previous error
```
This can be fixed by prefixing `extern crate` with `#[macro_use]`.
Diffstat (limited to 'examples/05_command_framework/src')
0 files changed, 0 insertions, 0 deletions