To the best of my understanding of the Rust documentation, attributes are applied only to the line directly following an attribute. So, if I want to conditionally compile a line I can do this:
#[cfg(target_family = "unix")]
use termion::{color, style};
What happens when I want to conditionally compile two lines?
#[cfg(target_family = "unix")]
use termion::{color, style};
#[cfg(target_family = "unix")]
use termion::screen::*;
Is there a cleaner way for doing this?