Skip to content

Commit

Permalink
Merge branch 'swapchain-validation' of github.com:Rua/vulkano into sw…
Browse files Browse the repository at this point in the history
…apchain-validation
  • Loading branch information
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
Expand Up @@ -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)?;
}
}

Expand Down

0 comments on commit d2370bc

Please # to comment.