Skip to content

Commit 7b95216

Browse files
authored
Update library/core/src/fmt/rt.rs
1 parent 3fae1c3 commit 7b95216

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: core/src/fmt/rt.rs

-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ macro_rules! argument_new {
7272
// a `fn(&T, ...)`, so the invariant is maintained.
7373
ty: ArgumentType::Placeholder {
7474
value: NonNull::<$t>::from_ref($x).cast(),
75-
// SAFETY: function pointers always have the same layout.
7675
formatter: |ptr: NonNull<()>, fmt: &mut Formatter<'_>| {
7776
let func = $f;
7877
// SAFETY: This is the same type as the `value` field.

0 commit comments

Comments
 (0)