shmoo/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//! # shmoo
//!
//! `shmoo`, all things.

pub use self::stuff::hey;

pub mod stuff {
  /// Identify a Shmoo!
  ///
  /// # Examples
  ///
  /// ```
  /// let arg = "hotdog";
  /// let answer = shmoo::hey(arg);
  ///
  /// assert_eq!("Hey hotdog, yer a Shmoo!", answer);
  /// ```
  pub fn hey(noun: &str) -> String {
    format!("Hey {}, yer a Shmoo!", noun)
  }
}