Skip to content

Commit 30bd65f

Browse files
committed
Put reason inside attribute
1 parent 36dc9ac commit 30bd65f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/flux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
env:
1111
FIXPOINT_VERSION: "556104ba5508891c357b0bdf819ce706e93d9349"
12-
FLUX_VERSION: "7ef3cb4175bca47f92d5144c6287d266849d1550"
12+
FLUX_VERSION: "347252ab34de1594a7531d9bdc4477369623ead3"
1313

1414
jobs:
1515
check-flux-on-core:

library/core/src/flux_info.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
}
3636
3737
impl BuildHasherDefault {
38-
#[trusted] // https://github.com/flux-rs/flux/issues/1185
38+
#[trusted(reason="https://github.com/flux-rs/flux/issues/1185")]
3939
fn new() -> Self;
4040
}
4141
}
@@ -45,13 +45,13 @@
4545
}
4646
4747
impl Clone for hash::BuildHasherDefault {
48-
#[trusted] // https://github.com/flux-rs/flux/issues/1185
48+
#[trusted(reason="https://github.com/flux-rs/flux/issues/1185")]
4949
fn clone(self: &Self) -> Self;
5050
}
5151
5252
impl Debug for time::Duration {
53-
#[trusted] // modular arithmetic invariant inside nested fmt_decimal
53+
#[trusted(reason="modular arithmetic invariant inside nested fmt_decimal")]
5454
fn fmt(self: &Self, f: &mut fmt::Formatter) -> fmt::Result;
5555
}
5656
}]
57-
const _: () = ();
57+
const _: () = {};

0 commit comments

Comments
 (0)