I can't figured out how to traits work. Can someone help me with this code ?
Methods without &self
are not called on a value:
println!("this is bum: {}, this is dum: {}", T::bum(), T::dum());
this is make sense, thanks
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.