Macro hsh::hsh_contains
source · macro_rules! hsh_contains { ($s:expr, $sub:expr) => { ... }; }
Expand description
This macro checks if the given string contains the given substring.
Example
extern crate hsh;
use hsh::{ hsh_contains };
let contains = hsh_contains!("Hello world", "world");