Dan Lyke on Nostr: SUPERMAX yeah, I'm doing parse nodes, and have a `fn matches<'a>(buffer : &Chars<'a>) ...
SUPERMAX (nprofile…33ng) yeah, I'm doing parse nodes, and have a `fn matches<'a>(buffer : &Chars<'a>) -> (bool, Chars<'a>);`, and I hope this means that the second return value is in the same `str` referenced by `buffer`.
But I'm totally not sure. And it doesn't work if I pull the <'a> after "matches".
Published at
2024-12-27 02:33:35Event JSON
{
"id": "f6f270a512d42ccc07243c343cb462f8f11fc955c52816831b7a5d4458e6754d",
"pubkey": "3ad806433f1d09d2643dd8bf4162890270449539839aab7b9da215e1d5681bac",
"created_at": 1735266815,
"kind": 1,
"tags": [
[
"p",
"ae1008d23930b776c18092f6eab41e4b09fcf3f03f3641b1b4e6ee3aa166d760",
"wss://relay.mostr.pub"
],
[
"e",
"875d01b17ee782f5886a015d755c8b60d9a4d40fa8a411c724faf812a6b99fed",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://researchbuzz.masto.host/users/danlyke/statuses/113722446052654087",
"activitypub"
]
],
"content": "nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq4cgq353exzmhdsvqjtmw4dq7fvyleuls8umyrvd5umhr4gtx6asqzk33ng yeah, I'm doing parse nodes, and have a `fn matches\u003c'a\u003e(buffer : \u0026Chars\u003c'a\u003e) -\u003e (bool, Chars\u003c'a\u003e);`, and I hope this means that the second return value is in the same `str` referenced by `buffer`.\n\nBut I'm totally not sure. And it doesn't work if I pull the \u003c'a\u003e after \"matches\".",
"sig": "a0ecf8f9c2220402c7e871305d3a8bffe5afd9fc27b6bce18171fef03f8e1e38724ebc754dc74757a8d1cba8dfa06c168c781e92cfd0d588a64618a64d1014c5"
}