We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
num::Num
T
kd_tree
The Tree struct of KdTree has a lengthy list of trait bounds for T. Among them already is num::traits::Zero:
Tree
num::traits::Zero
openTAWS/kd_tree/src/lib.rs
Line 27 in e9d1818
Why not use num::Num as trait bound and be done with it?
The text was updated successfully, but these errors were encountered:
solves #20
478ed7d
706f6c6
solve #20: clean up trait usage in kd_tree
34d2567
+ replace `core::ops::*` by `num::traits::Num` + remove unnecessary trait bounds like `Sized` + break long comment lines
Revert "solves #20"
3f3e052
This reverts commit 706f6c6.
672f67f
sevenautumns
No branches or pull requests
The
Tree
struct of KdTree has a lengthy list of trait bounds forT
. Among them already isnum::traits::Zero
:openTAWS/kd_tree/src/lib.rs
Line 27 in e9d1818
Why not use
num::Num
as trait bound and be done with it?The text was updated successfully, but these errors were encountered: