add_one_8732 0.1.0

This package contains a function that adds one to a signed integer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
pub fn add_one(x: i32) -> i32 {
    x + 1
}

#[cfg(test)]
mod tests {
    #[test]
    fn it_works() {
        let result = 2 + 2;
        assert_eq!(result, 4);
    }
}