stefans_utils/bool/
as_str.rs

1use crate::as_str::AsStr;
2
3impl AsStr for bool {
4    fn as_str(&self) -> &str {
5        match self {
6            true => "true",
7            false => "false",
8        }
9    }
10}