Function lrs::util::equal

Returns whether the two byte slices are equal.

Syntax

fn equal(one: &[u8], two: &[u8]) -> bool

Arguments

NameDescription
one

The first slice.

two

The second slice.

Return value

Returns whether one and two are equal.