Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'swapchain-validation' of github.com:Rua/vulkano into sw…
Browse files Browse the repository at this point in the history
…apchain-validation
Rua committed Jun 25, 2023
2 parents 2d249e1 + 8e02bbd commit d2370bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vulkano/src/lib.rs
Original file line number Diff line number Diff line change
@@ -425,9 +425,9 @@ impl Display for ValidationError {

if !self.requires_one_of.is_empty() {
if self.problem.is_empty() {
write!(f, "requires one of: {}", self.requires_one_of)?;
write!(f, "{}", self.requires_one_of)?;
} else {
write!(f, " -- requires one of: {}", self.requires_one_of)?;
write!(f, " -- {}", self.requires_one_of)?;
}
}

0 comments on commit d2370bc

Please sign in to comment.