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.
1 parent 70fc2c5 commit 300bd93Copy full SHA for 300bd93
console-subscriber/src/stats.rs
@@ -312,7 +312,7 @@ impl AsyncOpStats {
312
pub(crate) fn task_id(&self) -> Option<u64> {
313
let id = self.task_id.load();
314
if id > 0 {
315
- Some(id as u64)
+ Some(id)
316
} else {
317
None
318
}
xtask/src/main.rs
@@ -74,7 +74,7 @@ fn gen_proto() -> Result<()> {
74
.build_server(true)
75
.emit_rerun_if_changed(false)
76
.protoc_arg("--experimental_allow_proto3_optional")
77
- .out_dir(&out_dir)
+ .out_dir(out_dir)
78
.compile(&proto_files[..], &[proto_dir])
79
.context("failed to compile protobuf files")
80
0 commit comments