From 228558f3970c70c90f15cf9ee6e22e07f7190bfb Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Tue, 19 Dec 2023 11:28:38 +0900 Subject: query: fix zig fmt errors --- query.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/query.zig b/query.zig index 647dc3e..2f33188 100644 --- a/query.zig +++ b/query.zig @@ -106,7 +106,7 @@ pub fn ParsedQuery(comptime query: []const u8) ParsedQueryState(query.len) { if (!isNamedIdentifierChar(c)) { // This marks the end of the named bind marker. state = .start; - const name = buf[hold_pos..pos - 1]; + const name = buf[hold_pos .. pos - 1]; if (bindMarkerForName(bind_markers[0..nb_bind_markers], name) == null) { bind_markers[nb_bind_markers].name = name; nb_bind_markers += 1; -- cgit v1.2.3