Puzzle 10X Marks the Spot
 fn​ ​main​() {
 if​ ​'X'​ == ​'Χ'​ {
  println!(​"It matches!"​);
  } ​else​ {
  println!(​"It doesn't match."​);

Guess the Output


Try to guess what the output is before moving to the next page.


The program will display the following output:

 It doesn't match.


Unicode allows for homoglyphs, which are very similar or identical characters that can be encoded in different ways. ...

Get Rust Brain Teasers now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.