is_hawk_tuah 0.1.1

Check if the sentence contains Hawk Tuah
Documentation
  • Coverage
  • 50%
    1 out of 2 items documented1 out of 2 items with examples
  • Size
  • Source code size: 5.05 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 291.05 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 21s Average build duration of successful builds.
  • all releases: 21s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • korewaChino/is_hawk_tuah
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • korewaChino

is_hawk_tuah

This Rust crate provides a single function, is_hawk_tuah, which checks if a string contains a hawk, followed by a too or a two.

Inspired by the Hailey Welch, and the legendary is-even library.

Usage

use is_hawk_tuah::is_hawk_tuah;

assert!(is_hawk_tuah("hawk too").unwrap());
assert!(is_hawk_tuah("hawk two").unwrap());
assert!(is_hawk_tuah("hawk to").unwrap());
assert!(is_hawk_tuah("hawk tuah").unwrap());