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
error[E0282]: type annotations needed
--> /Users/cmaughan/.cargo/registry/src/github.com-1ecc6299db9ec823/sample-0.6.2/src/window.rs:57:41
|
57 | let v = phase.to_float_sample().to_sample() * PI_2;
| ^^^^^^^^^ cannot infer type for type parameter S declared on the associated function to_sample
|
help: consider specifying the type argument in the method call
|
57 | let v = phase.to_float_sample().to_sample::() * PI_2;
| ^^^^^
The text was updated successfully, but these errors were encountered:
After adding this crate, I got:
error[E0282]: type annotations needed
--> /Users/cmaughan/.cargo/registry/src/github.com-1ecc6299db9ec823/sample-0.6.2/src/window.rs:57:41
|
57 | let v = phase.to_float_sample().to_sample() * PI_2;
| ^^^^^^^^^ cannot infer type for type parameter
S
declared on the associated functionto_sample
|
help: consider specifying the type argument in the method call
|
57 | let v = phase.to_float_sample().to_sample::
() * PI_2;| ^^^^^
The text was updated successfully, but these errors were encountered: