Skip to content

Commit

Permalink
Update import path of sema module
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Nov 16, 2022
1 parent 7f5e71c commit 813992e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use std::path::PathBuf;
extern crate libudev;
use libudev::Device;

use sema::*;
use crate::sema::Semaphore;

pub fn rename_needed(ifname: &str, prefix: &str) -> Result<bool, Box<dyn Error>> {
let re: Regex = Regex::new(&format!("{}\\d+", prefix)).unwrap();
Expand Down

0 comments on commit 813992e

Please sign in to comment.