diff options
| author | phil <uniphil@gmail.com> | 2019-02-18 11:39:23 -0500 |
|---|---|---|
| committer | phil <uniphil@gmail.com> | 2019-02-18 19:22:20 -0500 |
| commit | ef72b2cac0c9e0715d384711b3f08567c013300d (patch) | |
| tree | 92587ec28cbe0cfa289f3fdf18619cc3729d96b1 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 3fa3bd8e9464f0bb74366e78972f77353bdd29a5 (diff) | |
| download | rust-ef72b2cac0c9e0715d384711b3f08567c013300d.tar.gz rust-ef72b2cac0c9e0715d384711b3f08567c013300d.zip | |
Check {print,write}_with_newline for literal newline
Both regular strings and raw strings can contain literal newlines. This commit extends the lint to also warn about terminating strings with these. Behaviour handling for raw strings is also moved into `check_newlines` by passing in the `is_raw` boolean from `check_tts` as [suggested](https://github.com/rust-lang/rust-clippy/pull/3781#pullrequestreview-204663732)
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
