From 06f89bf33f7de0ff458036ae8f547bb8d11cb4ba Mon Sep 17 00:00:00 2001 From: Rua Date: Sun, 25 Jun 2023 17:48:25 +0200 Subject: [PATCH 1/2] Update vulkano/src/lib.rs Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com> --- vulkano/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vulkano/src/lib.rs b/vulkano/src/lib.rs index 61b093d5cb..e5854a53c9 100644 --- a/vulkano/src/lib.rs +++ b/vulkano/src/lib.rs @@ -425,7 +425,7 @@ 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)?; } From 8e02bbd26ec4788f69bc78ad34dbcd74c4231ef7 Mon Sep 17 00:00:00 2001 From: Rua Date: Sun, 25 Jun 2023 17:48:30 +0200 Subject: [PATCH 2/2] Update vulkano/src/lib.rs Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com> --- vulkano/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vulkano/src/lib.rs b/vulkano/src/lib.rs index e5854a53c9..1982f5c117 100644 --- a/vulkano/src/lib.rs +++ b/vulkano/src/lib.rs @@ -427,7 +427,7 @@ impl Display for ValidationError { if self.problem.is_empty() { write!(f, "{}", self.requires_one_of)?; } else { - write!(f, " -- requires one of: {}", self.requires_one_of)?; + write!(f, " -- {}", self.requires_one_of)?; } }