devrust_docs 0.1.0

devrust_docs tests.
Documentation
//! # My Crate
//!
//! `my_crate` is a collection of utilities to make performing certain
//! calculations more convenient.

pub use crate::a::b::c::d::e::f::g::foo;

/// Adds one to the number given.
// --snip--

/// Adds one to the number given.
///
/// # Examples
///
/// ```
/// let arg = 5;
/// let answer = devrust_docs::add_one(arg);
///
/// assert_eq!(6, answer);
/// ```
pub fn add_one(x: i32) -> i32 {
    x + 1
}

/// mods
pub mod a {
    pub mod b {
        pub mod c {
            pub mod d {
                pub mod e {
                    pub mod f {
                        pub mod g {
                            pub fn foo() {
                                ()
                            }
                        }
                    }
                }
            }
        }
    }
}