Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisduerr committed Sep 4, 2024
1 parent 36e62cc commit 2d45848
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/globals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ use wayland_client::Proxy;
/// argument. For example:
///
/// - A global that binds to `wl_compositor` with maximum version 4 could implement
/// `ProvidesBoundGlobal<WlCompositor, 4>`, `ProvidesBoundGlobal<WlCompositor, 3>`,
/// `ProvidesBoundGlobal<WlCompositor, 2>`, and `ProvidesBoundGlobal<WlCompositor, 1>` because
/// `ProvidesBoundGlobal<WlCompositor, 4>`, `ProvidesBoundGlobal<WlCompositor, 3>`,
/// `ProvidesBoundGlobal<WlCompositor, 2>`, and `ProvidesBoundGlobal<WlCompositor, 1>` because
/// versions 2-4 only add additional requests to the `wl_surface` API.

Check failure on line 12 in src/globals.rs

View workflow job for this annotation

GitHub Actions / lint

doc list item missing indentation
/// - A global that binds to `wl_compositor` with maximum version 5 may only implement
/// `ProvidesBoundGlobal<WlCompositor, 5>` because version 5 makes using `wl_surface::attach` with
/// a nonzero offset a protocol error. A caller who is only aware of the version 4 API risks
/// causing these protocol errors if it uses surfaces created by such a global.
/// `ProvidesBoundGlobal<WlCompositor, 5>` because version 5 makes using `wl_surface::attach` with
/// a nonzero offset a protocol error. A caller who is only aware of the version 4 API risks
/// causing these protocol errors if it uses surfaces created by such a global.
///
/// Changes that cause compatibility breaks include:
///
Expand Down

0 comments on commit 2d45848

Please sign in to comment.