1 2 3 4 5 6 7 8 9 10 11 12 13 14
///! DataScience ///! `datascience` is a collection of utilities useful in data science. /// adds one to a i32 number. /// /// # Example /// /// ``` /// let x = 3; /// assert_eq!(4, datascience::add_one(x)); /// ``` pub fn add_one(x: i32) -> i32 { x + 1 }