lucab / caps-rs

A pure-Rust library to work with Linux capabilities
https://docs.rs/caps
Other
83 stars 20 forks source link

lib: switch 'set' to borrow its argument #52

Closed lucab closed 4 years ago

lucab commented 4 years ago

This changes caps::set() signature to borrow its CapsHashSet argument instead of taking ownership of it.