Skip to content

Commit

Permalink
Fix CI (#628)
Browse files Browse the repository at this point in the history
* Fix CI

* Document `pub extern crate`

Co-authored-by: Elinor B. <3009227+elinorbgr@users.noreply.github.com>

---------

Co-authored-by: Elinor B. <3009227+elinorbgr@users.noreply.github.com>
  • Loading branch information
daxpedda and elinorbgr authored Jun 5, 2023
1 parent a90c6ec commit 9233b1e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
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

0 comments on commit 9233b1e

Please sign in to comment.