Skip to content

Commit cc8f98f

Browse files
committed
Fix docs in compiler/rustc_builtin_macros/src/assert/context.rs
1 parent 213910a commit cc8f98f

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_builtin_macros/src/assert

1 file changed

+1
-1
lines changed

compiler/rustc_builtin_macros/src/assert/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl<'cx, 'a> Context<'cx, 'a> {
7171
/// __local_bind0
7272
/// } == 1
7373
/// ) {
74-
/// panic!("Assertion failed: elem == 1\nWith captures:\n elem = {}", __capture0)
74+
/// panic!("Assertion failed: elem == 1\nWith captures:\n elem = {:?}", __capture0)
7575
/// }
7676
/// }
7777
/// ```

0 commit comments

Comments
 (0)