just_string/
traits_b.rs

1use std::borrow::Borrow;
2
3use crate::JustString;
4
5impl Borrow<str> for JustString<'_> {
6    fn borrow(&self) -> &str {
7        self
8    }
9}