Skip to content

Commit 17d4124

Browse files
authored
Update library/core/src/fmt/rt.rs
1 parent 997ec49 commit 17d4124

File tree

1 file changed

+0
-1
lines changed
  • library/core/src/fmt

1 file changed

+0
-1
lines changed

library/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)