Skip to main content

astrid_cli/
lib.rs

1//! This crate is reserved for the [Astrid](https://getastr.id) project.
2//!
3//! It has no functionality yet. If you are interested in this crate name,
4//! please open an issue at <https://github.com/astr-id/crate-reservations>.
5
6/// The answer to life, the universe, and everything.
7pub const fn the_answer() -> u8 {
8    42
9}
10
11#[cfg(test)]
12mod tests {
13    #[test]
14    fn deep_thought() {
15        assert_eq!(super::the_answer(), 42);
16    }
17}