message: Use `From` instead of `Into` for `NumSamples`
  clippy recommends implementing `From` instead of `Into` wherever
  possible, as `From` gives you `Into` for free, but the reverse is not
  true.
diff: @@ -325,9 +325,9 @@ impl TryFrom<u8> for NumSamples {
  }
  }
  -impl Into<u8> for NumSamples {
  - fn into(self) -> u8 {
  - self as u8
  +impl From<NumSamples> for u8 {
  + fn from(ns: NumSamples) -> u8 {
  + ns as u8
  }
  }
  