Merge pull request #465 from Smithay/fix/first_id_increment

This commit is contained in:
Victoria Brekenfeld 2022-01-16 17:00:50 +01:00 committed by GitHub
commit 050c648bff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ macro_rules! id_gen {
while ids.iter().any(|k| *k == id) { while ids.iter().any(|k| *k == id) {
id += 1; id += 1;
} }
id += 1;
Some(id) Some(id)
}, },
); );