Skip to content

Instantly share code, notes, and snippets.

@durka
Last active December 31, 2017 00:27
Show Gist options
  • Save durka/a78b876dc8a5c3f08a735ee8d1222667 to your computer and use it in GitHub Desktop.
Save durka/a78b876dc8a5c3f08a735ee8d1222667 to your computer and use it in GitHub Desktop.
running 1 test
test src/lib.rs - foo (line 1) ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
/// ```rust
/// extern crate rayon;
/// ```
pub fn foo() {}
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
assert_eq!(2 + 2, 4);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment