stefans-utils 0.12.0

A collection of useful Rust utility functions, types, and traits.
Documentation
1
2
3
4
5
6
7
8
use crate::as_bool::AsBool;
use crate::from_str::FromStr;

impl FromStr for bool {
    fn from_str(str: &str) -> Self {
        str.as_bool()
    }
}