Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions wayland-backend/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
// 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)]
/// Reexport of the `io_lifetimes` crate, which is part of `wayland-backend`'s public API.
pub extern crate io_lifetimes;
#[allow(missing_docs)]
/// Reexport of the `smallvec` crate, which is part of `wayland-backend`'s public API.
pub extern crate smallvec;

/// Helper macro for quickly making a [`Message`](crate::protocol::Message)
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