Merge pull request #1897 from Gordon-F/hal_dx12_warning

[dx12] Fix compiler warning
This commit is contained in:
Connor Fitzgerald 2021-09-02 10:55:53 -04:00 committed by GitHub
commit 86c2a8057e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -253,7 +253,7 @@ impl super::Device {
error.GetBufferSize(),
)
};
write!(full_msg, ": {}", String::from_utf8_lossy(message));
let _ = write!(full_msg, ": {}", String::from_utf8_lossy(message));
unsafe {
error.destroy();
}