hs-rust-learn 0.1.0

hs's rust test learn
Documentation
pub mod abc;

pub mod abc {

    pub struct X {
        pub x: i32,
        pub name: String,
    }

    pub mod jack {
        pub fn hello() {
            println!("Hello, jack!");
        }
    }

    pub mod rose {
        pub fn hello() {
            super::jack::hello();
            // crate::abc::jack::hello();
            println!("Hello, rose!");
        }
    }
}

pub use lib1::abc::X;