Andre Bogus
|
eef5d477b5
|
use is_integer_literal more
|
2022-10-01 17:55:22 +02:00 |
|
Alessandro Decina
|
49319b4206
|
uninit_vec: special case set_len(0)
set_len(0) does not create uninitialized elements. Fixes a false positive with
the following pattern:
fn copy_slice_into_vec(dst: &mut Vec<u8>, src: &[u8]) {
dst.reserve(src.len().saturating_sub(dst.len()));
unsafe {
dst.set_len(0);
std::ptr::copy_nonoverlapping(src.as_ptr(), dst.as_mut_ptr(), src.len());
dst.set_len(src.len());
}
}
|
2022-09-23 09:35:47 +01:00 |
|
Takayuki Maeda
|
4bcaddeeb2
|
separate the receiver from arguments in HIR under /clippy
|
2022-09-05 22:25:57 +09:00 |
|
Jason Newcomb
|
fb41bfa774
|
Merge commit 'f51aade56f93175dde89177a92e3669ebd8e7592' into clippyup
|
2022-08-31 09:24:45 -04:00 |
|
xFrednet
|
4587b6628d
|
Merge 'rust-clippy/master' into clippyup
|
2022-05-21 13:24:00 +02:00 |
|
Cameron Steffen
|
82f613ee3b
|
Remove a span from hir::ExprKind::MethodCall
|
2022-01-21 07:48:10 -06:00 |
|
flip1995
|
fb0142ae41
|
Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup
|
2022-01-13 13:18:19 +01:00 |
|
flip1995
|
8fea1d94f3
|
Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup
|
2021-12-06 12:33:31 +01:00 |
|
flip1995
|
7631fc5d82
|
Merge commit '91496c2ac6abf6454c413bb23e8becf6b6dc20ea' into clippyup
|
2021-10-21 13:11:36 +02:00 |
|