Details
Details
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- notiflib-update-useof-init
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
services/tunnelbroker/rust-lib/src/lib.rs | ||
---|---|---|
80–91 | we only need to read it once, and we should avoid vanilla panics |
services/tunnelbroker/rust-lib/src/lib.rs | ||
---|---|---|
79–93 ↗ | (On Diff #17534) | Using global variables isn't a good idea. We should use more object-oriented approach, where we have a struct with config fields and methods that use these fields. Is it possible to have something like this? |
Comment Actions
services/tunnelbroker/rust-lib/src/lib.rs | ||
---|---|---|
79–93 ↗ | (On Diff #17534) |
This diff is abandoned in a favor of D5641 and D5642. The comment in D5329 is related to this question. The approach was changed to use a lazy static in D5641. |