1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
//! The first Bexbin Crate //! //! This will have some calculations in it for examples of crate use and formatting. /// This contains a function that adds two to an input value. /// /// # Examples /// /// ``` /// let arg = 5; /// let answer = bexbin_crate::add_two(arg); /// /// assert_eq!(7, answer); /// /* widePeepoHappy!!! */ /// ``` pub fn add_two(x: i32) -> i32 { x + 2 }