Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions wayland-backend/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,8 @@
// Doc feature labels can be tested locally by running RUSTDOCFLAGS="--cfg=docsrs" cargo +nightly doc -p <crate>
#![cfg_attr(docsrs, feature(doc_auto_cfg))]

#[allow(missing_docs)]
pub extern crate io_lifetimes;
#[allow(missing_docs)]
pub extern crate smallvec;
pub use io_lifetimes;
pub use smallvec;

/// Helper macro for quickly making a [`Message`](crate::protocol::Message)
#[macro_export]
Expand Down
3 changes: 3 additions & 0 deletions wayland-tests/tests/client_proxies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ fn proxy_equals() {
)
.unwrap();

#[allow(clippy::redundant_clone)]
let compositor3 = compositor1.clone();

assert!(compositor1 == compositor3);
Expand Down Expand Up @@ -86,6 +87,7 @@ fn proxy_user_data() {
)
.unwrap();

#[allow(clippy::redundant_clone)]
let compositor3 = compositor1.clone();

assert!(compositor1.data::<usize>() == Some(&0xDEADBEEF));
Expand Down Expand Up @@ -122,6 +124,7 @@ fn dead_proxies() {

roundtrip(&mut client, &mut server, &mut client_ddata, &mut server_ddata).unwrap();

#[allow(clippy::redundant_clone)]
let output2 = output.clone();

assert!(output == output2);
Expand Down