Skip to content

Commit

Permalink
Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
morr0ne committed Jan 29, 2025
1 parent f9a9275 commit 3872c65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub struct WgpuContext<'s> {
pub _drm_device: DrmDevice,
}

impl<'s> WgpuContext<'s> {
impl WgpuContext<'_> {
pub async fn new() -> Result<Self> {
// Open the dri device
// FIXME: should employ a strategy to choose a correct one
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ fn main() -> AnyResult<()> {

while let Some(event) = verdi.next_event().await? {
dbg!(&event);
#[allow(clippy::single_match)]
match event {
Event::NewClient(client) => verdi.spawn_client(client)?,
_ => {}
Expand Down

0 comments on commit 3872c65

Please sign in to comment.