diff --git a/vulkano/src/lib.rs b/vulkano/src/lib.rs index 1982f5c117..61b093d5cb 100644 --- a/vulkano/src/lib.rs +++ b/vulkano/src/lib.rs @@ -425,9 +425,9 @@ impl Display for ValidationError { if !self.requires_one_of.is_empty() { if self.problem.is_empty() { - write!(f, "{}", self.requires_one_of)?; + write!(f, "requires one of: {}", self.requires_one_of)?; } else { - write!(f, " -- {}", self.requires_one_of)?; + write!(f, " -- requires one of: {}", self.requires_one_of)?; } }