-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
The Node struct is currently in a weird location in the code. When using it from the nym-client I'm currently building, errors point to very misleading file location:
error[E0277]: `sphinx::route::Node` doesn't implement `std::fmt::Debug`
--> src/clients/directory.rs:49:9
|
49 | assert_eq!(expected, mixes.as_slice());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `sphinx::route::Node` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
I look in /header/routing/nodes.rs (which I can see in my file tree) but it's not there. It seems to be living in /route.rs.
What is the difference between these two locations? Can we name things a bit better to make the differences clearer?
Metadata
Metadata
Assignees
Labels
No labels