Ensure unique nix library use with deps
This commit is contained in:
parent
c35c83a4b2
commit
b5797b12f1
2 changed files with 2 additions and 2 deletions
|
@ -209,7 +209,7 @@ pub fn mock_dbus(responses: HashMap<Uid, Vec<Restrictions>>) -> JoinHandle<Resul
|
|||
== DBUS_GET_RESTRICTIONS_METHOD
|
||||
{
|
||||
let user_id: u32 = msg.body()?;
|
||||
match responses.get_mut(&Uid::from(user_id)) {
|
||||
match responses.get_mut(&Uid::from_raw(user_id)) {
|
||||
Some(answers) => match answers.pop() {
|
||||
Some(a) => {
|
||||
responses_size = responses_size - 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue