mycorrhizal-model/src/string.rs:105
for the record nooo bwa unfortunately not. as FromStr is defined we more or less arent allowed to mention the lifetime of the passed in &str in any way. which we need to for a ref to ref conversion (for a safe one anyways. we can make one that will compile with an unsafe block and std::mem::transmute but that thang would be entirely unsound).
what we could potentially do in the future is implement TryFrom<&'a str> for &'a ConstrainedStr which does work and probably we should do. but that doesnt fix the clippy warning nor does it let us actually use any of the FromStr and str::parse yumminess. at that point we could just ... remove the from_str but idk. feels ugly to have to do NsidStr::try_from("some nsid") instead of NsidStr::from_str("some nsid") maybe im insane tho idk :p