100-exercises-to-learn-rust icon indicating copy to clipboard operation
100-exercises-to-learn-rust copied to clipboard

Add i32/u32 suffix for numeric literals in 04_traits/01_trait

Open fangyi-zhou opened this issue 9 months ago • 1 comments

Without an explicit suffix, the compiler is able to use the i32 implementation without the need for an u32 implementation.

fangyi-zhou avatar May 18 '24 16:05 fangyi-zhou