Skip to content

Instantly share code, notes, and snippets.

Last active August 25, 2022 09:31
What would you like to do?
Unicode identifiers
fn main() {
// Plank's constant
let ℏ = 1.054571817e-34;
// The rust mascot
let 🦀 = "Ferris";
error: Ferris cannot be used as an identifier
5 | let 🦀 = "Ferris";
| ^^ help: try using their name instead: `ferris`
error: aborting due to previous error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment