Skip to content

Commit

Permalink
Clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Narsil committed Jul 4, 2023
1 parent 260d343 commit a5b0676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver/safe/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl CudaDevice {

pub fn count() -> Result<i32, result::DriverError> {
result::init().unwrap();
Ok(result::device::get_count()?.into())
result::device::get_count()
}

/// Get the `ordinal` index of this [CudaDevice].
Expand Down

0 comments on commit a5b0676

Please sign in to comment.