dipstick/README.md.skt.md

35 lines
462 B
Markdown
Raw Normal View History

2018-01-08 05:32:32 +00:00
Templates
2018-05-10 17:06:36 +00:00
Use `cargo test --features="skeptic"` to run the examples in the README using the `skeptic` crate.
2018-01-08 05:32:32 +00:00
```rust,skt-run
2018-10-18 14:10:23 +00:00
#[macro_use]
2018-01-08 05:32:32 +00:00
extern crate dipstick;
use dipstick::*;
2018-10-18 14:10:23 +00:00
use std::time::Duration;
2018-01-08 05:32:32 +00:00
fn main() {{
{}
}}
```
```rust,skt-fail
extern crate dipstick;
use dipstick::*;
use std::result::Result;
2018-10-18 14:10:23 +00:00
use std::time::Duration;
2018-01-08 05:32:32 +00:00
fn main() {{
run().ok();
}}
fn run() -> Result<(), Error> {{
{}
Ok(())
}}
```
```rust,skt-plain
{}
```