anp / rusl

An experimental (read: DONT USE) musl libc implementation in Rust.
Other
292 stars 12 forks source link

Use `use ... as ...` instead of mod ...{use ...} #4

Closed bjorn3 closed 8 years ago

bjorn3 commented 8 years ago

For example you have:

pub mod atomic {
    pub use platform::atomic::*;
}

This could be written as:

pub use platform::atomic as atomic;
anp commented 8 years ago

Thanks for pointing this out!