Function hello_rusty_worlds::hello_world
[−]
[src]
pub fn hello_world(planet: u8) -> Option<&'static str>
This function says hello to one of Sol's worlds, specified by a numeric argument
Examples
let greeting = hello_rusty_worlds::hello_world(3); assert_eq!(greeting, Some("Hello Earth!"));