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
structVector{x:f32,y:f32,z:f32,}fnlength(vector:Vector) -> f32{letVector{ x, y, z } = vector;(x * x + y * y + z * z).sqrt()}
the line
letVector{ x, y, z } = vector;
could be auto-generated by performing a code action on vector parameter, I think it would be handy for many devs out there so maybe add this functionality to RA?
The text was updated successfully, but these errors were encountered:
so basically if you have
the line
could be auto-generated by performing a code action on
vector
parameter, I think it would be handy for many devs out there so maybe add this functionality to RA?The text was updated successfully, but these errors were encountered: