Skip to main content

python/
lib.rs

1pub fn hello() -> &'static str {
2    "Hello from python!"
3}
4
5#[cfg(test)]
6mod tests {
7    use super::*;
8
9    #[test]
10    fn it_works() {
11        assert_eq!(hello(), "Hello from python!");
12    }
13}