pub fn new<S>(s: S) -> Self
    where
        S: AsRef<str>,
    {
        let inner = s.as_ref().to_owned();
        let hash = Hash::of(&inner);

        Self { inner, hash }
    }
/// Construct a new static string.
Construct a new static string.
Construct a new static string .
pub fn new<S>(s: S) -> Self
    where
        S: AsRef<str>,
    {
        let inner = s.as_ref().to_owned();
        let hash = Hash::of(&inner);
        Self { inner, hash }
    }
pub fn new < S > ( s : S ) -> Self where S : AsRef < str > , { let inner = s . as_ref ( ) . to_owned ( ) ; let hash = Hash :: of ( & inner ) ; Self { inner , hash } }
Construct a new static string.
Construct a new static string .
s
S
s
S