Make AssertKind::fmt_assert_args public
This commit is contained in:
parent
6df26f897c
commit
b9a1e693a7
1 changed files with 1 additions and 1 deletions
|
@ -1340,7 +1340,7 @@ impl<O> AssertKind<O> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Format the message arguments for the `assert(cond, msg..)` terminator in MIR printing.
|
/// 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
|
where
|
||||||
O: Debug,
|
O: Debug,
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue