Closed joshtriplett closed 4 years ago
Most methods of Command return self, to allow chaining them together in the builder pattern. However, Command::before_unfreeze doesn't return anything. Please consider having it (and before_exec) return self as well.
Command
self
Command::before_unfreeze
before_exec
Nice catch. Also, since this is technically a breaking change, we should also make before_exec unsafe like stdlib did. Do you want to make a PR?
https://github.com/tailhook/unshare/pull/16
Done!
Most methods of
Command
returnself
, to allow chaining them together in the builder pattern. However,Command::before_unfreeze
doesn't return anything. Please consider having it (andbefore_exec
) returnself
as well.