rust_tests/
lib.rs

1//!# Add Crate
2//!
3//! Here is the add crate
4
5/// Adds one to the number given.
6/// 
7/// # Examples
8/// 
9/// ```
10/// let arg = 5;
11/// let answer = add::add_one(arg);
12/// 
13/// assert_eq!(6, answer)
14/// ```
15pub fn add_one(x:i32) -> i32 {
16    x + 1
17}