Skip to content

Commit f35f79b

Browse files
committed
moved renamed docs formatted | logging-only-prints-once.rs
1 parent 3597677 commit f35f79b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/ui/logging-only-prints-once.rs renamed to tests/ui/fmt/debug-single-call.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
//! Test that Debug::fmt is called exactly once during formatting.
2+
//!
3+
//! This is a regression test for PR https://github.com/rust-lang/rust/pull/10715
4+
15
//@ run-pass
26
//@ needs-threads
37

48
use std::cell::Cell;
5-
use std::fmt;
6-
use std::thread;
9+
use std::{fmt, thread};
710

811
struct Foo(Cell<isize>);
912

0 commit comments

Comments
 (0)