1
0
Fork 0
forked from wry/wry

udev: accept [u8] instead of str

This commit is contained in:
Julian Orth 2026-03-19 22:24:40 +01:00
parent ff177a0721
commit 37a0bd451b
2 changed files with 3 additions and 3 deletions

View file

@ -218,7 +218,7 @@ impl UdevMonitor {
pub fn add_match_subsystem_devtype(
&self,
subsystem: Option<&str>,
subsystem: Option<&[u8]>,
devtype: Option<&str>,
) -> Result<(), UdevError> {
let subsystem = subsystem.map(|s| s.into_ustr());