diff options
Diffstat (limited to '')
-rw-r--r-- | src/tools/clippy/src/docs/write_literal.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tools/clippy/src/docs/write_literal.txt b/src/tools/clippy/src/docs/write_literal.txt index 9c41a48f9..a7a884d08 100644 --- a/src/tools/clippy/src/docs/write_literal.txt +++ b/src/tools/clippy/src/docs/write_literal.txt @@ -6,10 +6,6 @@ Using literals as `writeln!` args is inefficient (c.f., https://github.com/matthiaskrgr/rust-str-bench) and unnecessary (i.e., just put the literal in the format string) -### Known problems -Will also warn with macro calls as arguments that expand to literals --- e.g., `writeln!(buf, "{}", env!("FOO"))`. - ### Example ``` writeln!(buf, "{}", "foo"); |