You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Neither the tutorial nor manual mention the implicit copyability in any detail. The tutorial should possibly at least mention it, and the manual should describe the conditions required for it.
The rule is possibly "primitive type like int, float, () etc, or a struct/enum that contains only implicitly copyable types, and doesn't have a destructor", but I'm not sure, so this should be checked with someone knowledgeable.
The text was updated successfully, but these errors were encountered:
There isn't really a concept of implicit copyable, as it's just a term some people use to describe types that are not moved. I added documentation to the tutorial about this, and it is covered in the manual.
Useless exponent
Closesrust-lang#7745
I'm open to some thoughts on dropping the exponents on suggestions when it's zero. I personally don't see any problem on this.
changelog: [`useless_exponent`] suggestion drops exponent when exponent value is zero
Neither the tutorial nor manual mention the implicit copyability in any detail. The tutorial should possibly at least mention it, and the manual should describe the conditions required for it.
The rule is possibly "primitive type like
int
,float
,()
etc, or astruct
/enum
that contains only implicitly copyable types, and doesn't have a destructor", but I'm not sure, so this should be checked with someone knowledgeable.The text was updated successfully, but these errors were encountered: