mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-28 09:09:19 +01:00
Add typos to Repository CI (#5191)
Co-authored-by: Andreas Reich <r_andreas2@web.de>
This commit is contained in:
1 parent
c2c0d5f400
commit
faed98b45c
80 files changed
+187
-162
No files matched your search
@@ -292,8 +292,8 @@ pub struct FailureReason {
|
||||
/// Match a particular message of a failure result.
|
||||
///
|
||||
/// If `None`, matches any message. If `Some`, a case-insensitive sub-string
|
||||
/// test is performed. Allowing `"error occured"` to match a message like
|
||||
/// `"An unexpected Error occured!"`.
|
||||
/// test is performed. Allowing `"error occurred"` to match a message like
|
||||
/// `"An unexpected Error occurred!"`.
|
||||
message: Option<&'static str>,
|
||||
}
|
||||
|
||||
@@ -324,8 +324,8 @@ impl FailureReason {
|
||||
/// Match an error with a message.
|
||||
///
|
||||
/// If specified, a case-insensitive sub-string test is performed. Allowing
|
||||
/// `"error occured"` to match a message like `"An unexpected Error
|
||||
/// occured!"`.
|
||||
/// `"error occurred"` to match a message like `"An unexpected Error
|
||||
/// occurred!"`.
|
||||
pub fn with_message(self, message: &'static str) -> Self {
|
||||
Self {
|
||||
message: Some(message),
|
||||
|
||||
+1
-1
@@ -222,7 +222,7 @@ pub async fn compare_image_output(
|
||||
all_passed &= check.check(&mut pool);
|
||||
}
|
||||
|
||||
// Convert the error values to a false color reprensentation
|
||||
// Convert the error values to a false color representation
|
||||
let magma_image = error_map_flip
|
||||
.apply_color_lut(&nv_flip::magma_lut())
|
||||
.to_vec();
|
||||
|
||||
Reference in new issue
Block a user