Rubchev_D/
lib.rs

1//! # Rubchev_D
2//!my first documantation and liabrely 🎉
3//!
4//! ## use case
5//! ```
6//! use rubchev_d::hello;
7//! assert_eq!(hello(), "Hello from Rubchev_D!");
8//! ```
9/// Function return string.
10pub fn hello() -> String {
11    "Hello from my_library!".to_string()
12}
13
14#[cfg(test)]
15mod tests {
16    use super::*;
17
18    #[test]
19    fn test_hello() {
20        assert_eq!(hello(), "Hello from my_library!");
21    }
22}