]> git.lizzy.rs Git - rust.git/commit
Remove mention of `.push_str(s)` being faster
authorPhil Turnbull <philip.turnbull@gmail.com>
Sun, 20 Nov 2016 16:22:22 +0000 (11:22 -0500)
committerPhil Turnbull <philip.turnbull@gmail.com>
Sun, 20 Nov 2016 22:28:14 +0000 (17:28 -0500)
commit8705f3d11cbbb2237f84a4da6c070a1fa76f8d48
tree8ad371e4aa1f671df0d7fc13773ce6f82ee6c29b
parente9f3911899235ffdcc46c80e1d05e996c251fa15
Remove mention of `.push_str(s)` being faster

For the `.push_str(str.chars())` case the compiler will inline `push_str` and
call `extend_from_slice` on the underlying vector, so this isn't actually
faster.
clippy_lints/src/methods.rs