homework: extract print_status into a separate trait

This commit is contained in:
7 changed files with 22 additions and 10 deletions

View File

@@ -4,11 +4,13 @@ mod house;
mod power_socket;
#[macro_use]
mod room;
mod print_status;
mod thermometer;
pub use device::Device;
pub use error::Error;
pub use house::House;
pub use power_socket::PowerSocket;
pub use print_status::PrintStatus;
pub use room::Room;
pub use thermometer::Thermometer;