nvml-wrapper icon indicating copy to clipboard operation
nvml-wrapper copied to clipboard

Improve ergonomics of methods that must return a struct with a lifetime parameter

Open Cldfire opened this issue 8 years ago • 1 comments

https://github.com/Cldfire/nvml-wrapper/blob/master/src/device.rs#L2945 https://github.com/Cldfire/nvml-wrapper/blob/master/src/device.rs#L3237

This may or may not be possible to do after https://github.com/brson/error-chain/issues/48 is resolved.

Cldfire avatar May 18 '17 05:05 Cldfire

The links above are outdated, but the method in question here is Device.remove. error-chain is no longer used in nvml-wrapper, so this is now fixable.

Cldfire avatar Dec 06 '20 20:12 Cldfire