rust_lib_starter_sample 0.0.2

Library sample.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pub mod starter_hello_world {
    const MESSAGE: &str = "Hello, world!";

    pub fn greet() {
        println!("{}", MESSAGE);
    }

    #[test]
    fn check_message() {
        assert_eq!(MESSAGE, "Hello, world!");
    }
}