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 03d13b6 commit 5140892Copy full SHA for 5140892
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