I have a custom type Point
type Point = (f64, f64);
And I want to add two Points together but I get this error
Point
err
No, you don't have a Point type. The type keyword unfortunately does not create a new type, but only a new name (alias) for an existing type.
type
To create a type, use:
struct Point(f64, f64);