News for hackers. Stuff that matters.
Re:String types in Rust by twsted on Tuesday March 29, 2016 @02:37AM (#11379860)
Stupid question: Why "str" instead of "Str"? (For homogeneity)
Re:String types in Rust by bjz_ on Tuesday March 29, 2016 @03:44AM (#11380079)
Oh you wouldn't believe the huge amount of bikeshedding that went into the naming of `String` and `str`. :) The end result might not be the nicest - to my eyes at least - but at least a decision was made!
Re:String types in Rust by Retra on Tuesday March 29, 2016 @03:10AM (#11379973)
Because primitive types are all lowercase. See: char, usize, i32, f64, etc...