Skip to content

Commit 56b7ef9

Browse files
committed
Put reason inside attribute
1 parent e915b07 commit 56b7ef9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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)