testcrate12345/
lib.rs

1//! # testcrate12345
2//!
3//! `testcrate12345` is a crate made solely for the purpose of testing a crate upload.
4
5/// Adds one to the number given.
6///
7/// # Examples
8///
9/// ```
10/// let arg = 5;
11/// let answer = testcrate12345::add_one(arg);
12///
13/// assert_eq!(6, answer);
14/// ```
15pub fn add_one(x: i32) -> i32 {
16    x + 1
17}