1
Fork 0

Make AssertKind::fmt_assert_args public

This commit is contained in:
Johannes Schilling 2021-04-21 14:09:15 +02:00
parent 6df26f897c
commit b9a1e693a7

View file

@ -1340,7 +1340,7 @@ impl<O> AssertKind<O> {
}
/// Format the message arguments for the `assert(cond, msg..)` terminator in MIR printing.
fn fmt_assert_args<W: Write>(&self, f: &mut W) -> fmt::Result
pub fn fmt_assert_args<W: Write>(&self, f: &mut W) -> fmt::Result
where
O: Debug,
{