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.
BenchmarkSet
Copy
1 parent 6100a40 commit 93667eaCopy full SHA for 93667ea
database/src/lib.rs
@@ -1093,8 +1093,8 @@ impl fmt::Display for BenchmarkJobStatus {
1093
}
1094
1095
1096
-#[derive(Debug, Clone, PartialEq)]
1097
-pub struct BenchmarkSet(pub u32);
+#[derive(Debug, Copy, Clone, PartialEq)]
+pub struct BenchmarkSet(u32);
1098
1099
/// A single unit of work generated from a benchmark request. Split by profiles
1100
/// and backends
@@ -1136,8 +1136,8 @@ impl BenchmarkJob {
1136
&self.request_tag
1137
1138
1139
- pub fn benchmark_set(&self) -> &BenchmarkSet {
1140
- &self.benchmark_set
+ pub fn benchmark_set(&self) -> BenchmarkSet {
+ self.benchmark_set
1141
1142
1143
pub fn collector_name(&self) -> Option<&str> {
0 commit comments