Merge pull request #465 from Smithay/fix/first_id_increment
This commit is contained in:
commit
050c648bff
|
@ -20,6 +20,7 @@ macro_rules! id_gen {
|
|||
while ids.iter().any(|k| *k == id) {
|
||||
id += 1;
|
||||
}
|
||||
id += 1;
|
||||
Some(id)
|
||||
},
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue