Rollup merge of #84392 - dario23:fmt-assert-args-pub, r=varkor,RalfJung
Make AssertKind::fmt_assert_args public
This commit is contained in:
commit
4198d0a87c
1 changed files with 1 additions and 1 deletions
|
@ -1349,7 +1349,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,
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue