premise-rust-lib 0.1.2

A minimal Rust library template that exports a hello greeting.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! A minimal Rust library generated from the `premise-rust-lib` template.

/// Returns the premise greeting.
pub fn hello_premise() -> &'static str {
    "hello premise"
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn hello_premise_returns_greeting() {
        assert_eq!(hello_premise(), "hello premise");
    }
}