1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
//! small demo functions, let's make sure we're documenting correctly //! //! what on earth is going on /// sup pub fn sup() -> &'static str { "sup" } /// yo pub fn yo() -> &'static str { "yo" } /// hey pub fn hey() -> &'static str { "hey" } /// wassup pub fn wassup() -> &'static str { "wassup" } /// bye pub fn bye() -> &'static str { "bye" } /// nothing to see here<script>document.title = "lol";</script> pub struct SomeStruct;