4 ms·
Author here. Thanks for posting. Just to clarify, there are some cases where globs make sense, e.g. for importing types in tests: struct Foo; struct Bar;
by mre 2y ago
Author here. Thanks for posting.
Just to clarify, there are some cases where globs make sense, e.g. for importing types in tests:
struct Foo;
struct Bar;
mod tests {
use super::*;
}
Apart from that, I use globs very rarely.