From f42ae0673d2a833e070aa2e27524126ba4249312 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=E2=80=99Aquino?= Date: Mon, 28 Jul 2025 14:36:11 -0700 Subject: [PATCH] Reword subscript out-of-bounds assertion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changelog-None Signed-off-by: Daniel D’Aquino --- nostrdb/NdbTagsIterator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nostrdb/NdbTagsIterator.swift b/nostrdb/NdbTagsIterator.swift index f8dfadb7..f11b7187 100644 --- a/nostrdb/NdbTagsIterator.swift +++ b/nostrdb/NdbTagsIterator.swift @@ -66,7 +66,7 @@ struct TagsSequence: Encodable, Sequence { } i += 1 } - precondition(false, "sequence subscript oob") + precondition(false, "Sequence subscript out of bounds") // it seems like the compiler needs this or it gets bitchy let nil_ptr = OpaquePointer(bitPattern: 0) return .init(note: .init(note: .init(ptr: nil_ptr), size: 0, owned: true, key: nil), tag: .init(ptr: nil_ptr))