1 2 3 4 5 6 7
use rust_book_code::{mix, PrimaryColor}; pub fn pub_use() { let red = PrimaryColor::Red; let yellow = PrimaryColor::Yellow; mix(red, yellow); }