pub fn strip_0x_prefix(s: &str) -> &str {
    if s.len() < 2 || &s[..2] != "0x" {
        s
    } else {
        &s[2..]
    }
}
/// Strips the '0x' prefix off of hex string so it can be deserialized.
///
/// # Arguments
///
/// * `s` - The hex str
Strips the '0x' prefix off of hex string so it can be deserialized.
Strips the ' 0x ' prefix off of hex string so it can be deserialized .
pub fn strip_0x_prefix(s: &str) -> &str {
    if s.len() < 2 || &s[..2] != "0x" {
        s
    } else {
        &s[2..]
    }
}
pub fn strip_0x_prefix ( s : & str ) -> & str { if s . len ( ) < 2 || & s [ .. 2 ] != " " { s } else { & s [ 2 .. ] } }
Strips the '0x' prefix off of hex string so it can be deserialized.
Strips the ' 0x ' prefix off of hex string so it can be deserialized .
s
&str
s
&str