Skip to content

Commit 96105da

Browse files
committed
RUST-1440 bump clippy version to 1.63.0
1 parent 3c7c60f commit 96105da

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.evergreen/check-clippy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -o errexit
55
. ~/.cargo/env
66

77
# Pin clippy to the latest version. This should be updated when new versions of Rust are released.
8-
CLIPPY_VERSION=1.62.0
8+
CLIPPY_VERSION=1.63.0
99

1010
rustup install $CLIPPY_VERSION
1111

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@
263263
//! The MSRV for this crate is currently 1.53.0. This will be rarely be increased, and if it ever is,
264264
//! it will only happen in a minor or major version release.
265265
266-
#![allow(clippy::cognitive_complexity)]
266+
#![allow(clippy::cognitive_complexity, clippy::derive_partial_eq_without_eq)]
267267
#![doc(html_root_url = "https://docs.rs/bson/2.3.0")]
268268
#![cfg_attr(docsrs, feature(doc_cfg))]
269269

src/raw/document_buf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ impl Deref for RawDocumentBuf {
386386

387387
impl Borrow<RawDocument> for RawDocumentBuf {
388388
fn borrow(&self) -> &RawDocument {
389-
&*self
389+
&**self
390390
}
391391
}
392392

0 commit comments

Comments
 (0)