Skip to content

Commit

Permalink
fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dkales committed Jan 22, 2025
1 parent 70d0b7e commit a8bf2d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver/safe/launch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ impl CudaDevice {

modules
.get(module_name)
.map_or(false, |module| module.has_func(func_name))
.is_some_and(|module| module.has_func(func_name))
}

/// Retrieves a [CudaFunction] that was registered under `module_name` and `func_name`.
Expand Down

0 comments on commit a8bf2d8

Please sign in to comment.