There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

MurdoMaclachlan , (edited )
@MurdoMaclachlan@lemmy.world avatar

Image Transcription: Code


[Transcriber’s note: the first line in the following transcription is incorrect. After the equals, there should be eight instances of the word “Option”, each succeeded by a less-than symbol, then two brackets, like (), before the first greater-tha symbol. However, if you type a less-than symbol on Lemmy, it seems to strip that symbol and whatever word comes next out of the source when you save the comment.]


<span style="color:#323232;">type Wtf = Option>>>>>>>;
</span><span style="color:#323232;">let two = Some(Some(Some(Some(Some(Some(None))))));
</span><span style="color:#323232;">let three = Some(Some(Some(Some(Some(None)))));
</span><span style="color:#323232;">let six = Some(Some(None));
</span><span style="color:#323232;">unsafe {
</span><span style="color:#323232;">    assert_eq!(
</span><span style="color:#323232;">        std::mem::transmute::(two) * std::mem::transmute::(three)
</span><span style="color:#323232;">        std::mem::transmute::(six)
</span><span style="color:#323232;">    );
</span><span style="color:#323232;">}
</span>

I am a human who transcribes posts to improve accessibility on Lemmy. Transcriptions help people who use screen readers or other assistive technology to use the site. For more information, see here.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines