Function cucumber::codegen::str_eq

source ·
pub const fn str_eq(l: &str, r: &str) -> bool
Available on crate feature macros only.
Expand description

Compares two strings in a const context.

As there is no const impl Trait and l == r calls Eq, we have to use a custom comparison function.