Skip to content

Commit 81301b0

Browse files
authored
Update library/core/src/fmt/rt.rs
1 parent 751d1a7 commit 81301b0

File tree

1 file changed

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

1 file changed

+0
-10
lines changed

library/core/src/fmt/rt.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,3 @@ impl<'a> Arguments<'a> {
243243
Arguments { pieces, fmt: Some(fmt), args }
244244
}
245245
}
246-
247-
#[unstable(feature = "ub_checks", issue = "none")]
248-
impl<'a> Invariant for ArgumentType<'a> {
249-
fn is_safe(&self) -> bool {
250-
match self {
251-
ArgumentType::Placeholder { value, formatter, .. } => true,
252-
ArgumentType::Count(_) => true,
253-
}
254-
}
255-
}

0 commit comments

Comments
 (0)