Skip to content

Instantly share code, notes, and snippets.

@vdeturckheim
Created July 11, 2018 13:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vdeturckheim/c016c3683af8a2882160a57687235d81 to your computer and use it in GitHub Desktop.
Save vdeturckheim/c016c3683af8a2882160a57687235d81 to your computer and use it in GitHub Desktop.
pub fn includes(a: &str, b: &str) -> bool {
a.contains(b)
}
pub fn run() {
for _i in 0..10000 {
includes("hello", "llo");
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment