Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
// run-pass
const X: &'static str = "12345";
fn test(s: String) -> bool {
match &*s {
X => true,
_ => false
}
fn main() {
assert!(test("12345".to_string()));