Fix build error (#314)

This commit is contained in:
Joëlle van Essen 2024-12-20 18:33:05 +01:00 committed by GitHub
parent 7ac67a89e9
commit de870db1f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,7 +8,7 @@ pub(crate) fn unimplemented() -> nvmlReturn_t {
#[cfg(not(debug_assertions))]
pub(crate) fn unimplemented() -> nvmlReturn_t {
nvmlReturn_t::NVML_ERROR_NOT_SUPPORTED
nvmlReturn_t::ERROR_NOT_SUPPORTED
}
#[allow(non_snake_case)]