more rust questions, lifetime stuff
so i have a trait with an associated `type Char: Iterator` right now
i know that that iterator will return &C in all implementations, but how do i write that?
i tried `type Char: Iterator<Item = &C>`, but rust tells me that that reference might outlive its data
the same happens if i just leave it as it is now, i get the same error in the implementation where i define that type
asking for help with rust
so currently i have a trait and i want all implementations to have a
`from(iter: I) -> Self where I: IntoIterator<Item = C>` method
obviously i can add that method to my trait and it works just fine, but if i want to add it by making implementations implement the corresponding From trait?
i know about supertraits but i cant figure out the syntax
Alerta! TW Rassismus
Am Dienstag werden deutschlandweit Faschos schwarze Kreuze aufstellen "um den deutschen opfern nicht-deutscher Täter zu gedenken" - haltet die Augen auf, schaut euch überall um und entfernt den Scheiß!
https://schwarzekreuze.wordpress.com/
![]()
ah heck, it follows the system dark/light mode setting, wish that was overridable by website
TIL that VS Code shows one-character-wide tab chars as "→" (U+FFEB Halfwidth Rightwards Arrow) rather than a 'normal' fullwidth arrow, and most fonts don't have that. Installed Quivira as recommended on https://github.com/microsoft/vscode/issues/94939 and now I have tiny arrows instead of replacement characters!
oh yeah, got reminded by this cute piece https://twitter.com/theyetee/status/1414355074000646144
yeah baby https://youtu.be/h1qchd3M-r8
~ awoo.space admin ~ bisexual ~ nonbinary ~ likes video games and weird/ old electronics and will post obsessively about both ~ AC, Germany ~ avatar by @dzuk