]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/src/docs/write_literal.txt
Merge commit '7248d06384c6a90de58c04c1f46be88821278d8b' into sync-from-clippy
[rust.git] / src / tools / clippy / src / docs / write_literal.txt
index 9c41a48f9f73134c7aa1113aae76fa62f79db36c..a7a884d08711508864bd0c769f9a1275e904ea3c 100644 (file)
@@ -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");