@BB_C I am using rustfmt in Emacs , but yet I ll improvise, colite reference of doubt and get back her, although ATM its not very different from a github issue.
i have cited the exact rust crate required (as per doc) , to build , and it build L’s without that . My code compiles, instead of giving an error
@rust @learningrustandlemmy
I might have missed some subtle syntactical difference here, I guess
aas in
Vec<...>
is a type definition, andVec::<...>
is referring to the struct itself, but with a type parameter given.context - https://www.reddit.com/r/learnrust/comments/exmqyc/what_are_the_rules_for_turbofish/