google / google/comprehensive-rust

`"Hello 🌍!"` is horizontally shifted on macOS

Open
#2,912 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
33.4k
Forks
2.1k
Avg merge
1d 3h
Merged PRs (30d)
10

Description

I'm looking at the course for the first time ever on a MacBook and noticed that our first example of Rust code looks bad:

Image

The `println!("Hello 🌍!");` line is shifted in a strange way. Removing the emoji fixes this:

Image

This looks like a bug in the upstream [ACE Editor project](https://github.com/ajaxorg/ace), but I figured we could track it here as well.

This is on a Chrome browser (Version 140.0.7339.186) on macOS 15.7 (24G222), both of which should be the latest versions at the time of writing.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.