Change to fix build error in ioreg

Addition of where clause to Rust.