Rollup merge of #84392 - dario23:fmt-assert-args-pub, r=varkor,RalfJung

Make AssertKind::fmt_assert_args public
This commit is contained in:
Dylan DPC 2021-05-02 17:00:22 +02:00 committed by GitHub
commit 4198d0a87c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1349,7 +1349,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,
{ {