Skip to content

Commit d486b76

Browse files
authored
Fix spelling mistake of occurred (#120)
Fix the spelling mistake of `occurred`.
1 parent fcc12d7 commit d486b76

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nvml-wrapper/src/device.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5786,7 +5786,7 @@ impl<'nvml> Device<'nvml> {
57865786
this `Device`.
57875787
57885788
**Unfortunately, due to the way `error-chain` works, there is no way to
5789-
return the set if it is still valid after an error has occured with the
5789+
return the set if it is still valid after an error has occurred with the
57905790
register call.** The set that you passed in will be freed if any error
57915791
occurs and will not be returned to you. This is not desired behavior
57925792
and I will fix it as soon as it is possible to do so.

nvml-wrapper/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ pub enum NvmlError {
161161
)]
162162
VgpuEccNotSupported,
163163

164-
#[error("an internal driver error occured")]
164+
#[error("an internal driver error occurred")]
165165
Unknown,
166166
}
167167

0 commit comments

Comments
 (0)