Grouping use's when using features

I just write a long post about grouping use imports behind feature flags, but I just discovered that this is possible:

#[cfg(feature = "somefeature")]
use {foo, bar::Baz, std::path::PathBuf};

So I have no question, but I'm posting this anyway in case someone else missed this aspect of use.

1 Like

Just so I can "solution" it.