Function is_not_rust

Source
pub fn is_not_rust<D: Display>(string: D) -> bool
Expand description

Booleans are hard, so we provide a function to check that something is not rust.

Refer to is_rust for how this function does not work.

ยงExamples

C is not Rust:

extern crate is_rust;

assert!(is_rust::is_not_rust("Python"));