Function eql [src]

Prototype

pub fn eql(self: @This(), a: String, b: String, b_index: usize) bool

Parameters

self: @This()a: Stringb: Stringb_index: usize

Source

pub fn eql(self: @This(), a: String, b: String, b_index: usize) bool { _ = b_index; const a_slice = span(self.string_bytes[@intFromEnum(a)..]); const b_slice = span(self.string_bytes[@intFromEnum(b)..]); return std.mem.eql(u8, a_slice, b_slice); }