Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyRustString vs &strSingle-choice MCQ

What is the difference between `.len()` on a `String` and counting characters a user sees?

fn main() { let s = String::from("héllo"); println!("{}", s.len()); }