[Bug] Useless Node #27
Closed
opened 3 years ago by AlessandroBregoli
·
0 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Basic info
Expected Behavior
The
struct Node
is usefullActual Behavior
The
struct Node
is uselessSteps to Reproduce
Exploring the code in
node.rs
it is easy to notice that the only functionality ofstruct Node
is to contain aParamEnum
and alabel
.Log tracebacks and/or errors shown
Irrelevant
(Optional) Extra info
I think the
struct node
can be safely replaced byParamEnum
simply by transferring the label to any struct that implementsParamsTrait
.