gudenau on Nostr: Does Rust not have a concept of a generic collection? I can't seem to find a way to ...
Does Rust not have a concept of a generic collection? I can't seem to find a way to just say "Collection<T>" like in Java.
Published at
2025-04-04 02:01:18 UTCEvent JSON
{
"id": "e81b691f09f48377d48227bb63bf1cbb64fdee66ef4149e8398fa66a3a53475d",
"pubkey": "db46a46e48fbb369dac7db115ec93ac88b3fd141eade8a6ba3e8e94e54ef0e9f",
"created_at": 1743732078,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/@gudenau/114277225499691562",
"web"
],
[
"proxy",
"https://fosstodon.org/users/gudenau/statuses/114277225499691562",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://fosstodon.org/users/gudenau/statuses/114277225499691562",
"pink.momostr"
],
[
"-"
]
],
"content": "Does Rust not have a concept of a generic collection? I can't seem to find a way to just say \"Collection\u003cT\u003e\" like in Java.",
"sig": "5b3ddad0ac2891ed1b69cb0d18b0d0e1f8c48fd634926234b81082247578250b3d8c52b75085760e9df0e4f9e1322fcff3deffc0ef3bafc8a9ca243791a727ec"
}