We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Debug
DiffString
1 parent 736af88 commit df9260eCopy full SHA for df9260e
src/cpu-template-helper/src/utils/mod.rs
@@ -2,7 +2,7 @@
2
// SPDX-License-Identifier: Apache-2.0
3
4
use std::ffi::OsString;
5
-use std::fmt::Display;
+use std::fmt::{Debug, Display};
6
use std::hash::Hash;
7
use std::path::{Path, PathBuf};
8
use std::sync::{Arc, Mutex};
@@ -33,7 +33,7 @@ pub trait DiffString<V> {
33
fn to_diff_string(template: V, config: V) -> String;
34
}
35
36
-impl<V: Numeric> DiffString<V> for V {
+impl<V: Numeric + Debug> DiffString<V> for V {
37
// Generate a string to display difference of filtered values between CPU template and guest
38
// CPU config.
39
#[rustfmt::skip]
0 commit comments