//! Mutations can be skipped with `cfg_attr` attributes.
#[cfg_attr(mutants, mutants::skip)]pubfnfactorial(n:u32)->u32{letmut a =1;for i in2..=n {
a *= i;}
a
}#[test]fntest_factorial(){println!("factorial({}) = {}",6,factorial(6));// This line is here so we can see it in --nocapture
assert_eq!(factorial(6),720);}