bors
fb060815b3
Auto merge of #11136 - y21:enhance_read_line_without_trim, r=dswij
...
[`read_line_without_trim`]: detect string literal comparison and `.ends_with()` calls
This lint now also realizes that a comparison like `s == "foo"` and calls such as `s.ends_with("foo")` will fail if `s` was initialized by a call to `Stdin::read_line` (because of the trailing newline).
changelog: [`read_line_without_trim`]: detect string literal comparison and `.ends_with()` calls
r? `@giraffate` assigning you because you reviewed #10970 that added this lint, so this is kinda a followup PR ^^
2024-02-27 03:36:12 +00:00
..
2024-02-22 16:27:24 +01:00
2024-02-22 15:59:29 +01:00
2024-02-26 17:39:00 +01:00
2024-02-26 17:39:00 +01:00
2024-02-26 17:39:00 +01:00
2024-02-25 22:33:16 +04:00
2024-02-25 22:33:16 +04:00
2024-02-25 23:12:28 +01:00
2024-02-25 23:09:59 +01:00
2024-02-25 23:12:28 +01:00
2024-02-22 15:59:29 +01:00
2024-02-21 16:34:07 -06:00
2024-02-21 16:34:07 -06:00
2024-02-24 15:02:10 +01:00
2024-02-24 15:02:10 +01:00
2024-02-24 15:02:10 +01:00
2024-02-22 15:59:29 +01:00
2024-02-23 17:38:39 +01:00
2024-02-23 16:40:21 +01:00
2024-02-21 23:26:29 +09:00
2024-02-21 23:26:29 +09:00
2024-02-22 15:59:29 +01:00
2024-02-26 20:24:46 +01:00
2024-02-26 20:24:46 +01:00
2024-02-26 20:24:46 +01:00
2024-02-25 15:38:18 +09:00
2024-02-25 15:38:18 +09:00
2024-02-25 15:38:18 +09:00
2024-02-23 21:33:53 -05:00
2024-02-23 21:33:53 -05:00
2024-02-23 21:33:53 -05:00
2024-02-25 17:41:41 +04:00
2024-02-25 17:41:41 +04:00
2024-02-25 17:41:41 +04:00
2024-02-25 17:13:47 +01:00
2024-02-25 17:13:47 +01:00
2024-02-23 17:38:39 +01:00
2024-02-23 17:38:39 +01:00
2024-02-22 15:59:29 +01:00
2024-02-23 17:38:39 +01:00
2024-02-23 17:38:39 +01:00
2024-02-23 17:38:39 +01:00
2024-02-23 17:38:39 +01:00
2024-02-22 11:55:31 +01:00
2024-02-22 11:55:31 +01:00
2024-02-24 15:02:10 +01:00
2024-02-24 15:02:10 +01:00
2024-02-24 15:02:10 +01:00
2024-02-21 19:32:08 +01:00
2024-02-21 19:32:08 +01:00
2024-02-21 19:32:08 +01:00
2024-02-20 22:18:49 +09:00
2024-02-20 22:18:49 +09:00
2024-02-22 23:12:38 +01:00
2024-02-22 23:12:38 +01:00
2024-02-24 00:35:48 +08:00
2024-02-24 00:35:48 +08:00
2024-02-24 00:35:48 +08:00