We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/aeronautical-informatics/apex-linux/blob/76dee04a764113fc9a2eae371972faeac598556b/core/src/cgroup.rs#L172-L179 Use for range instead
https://github.com/aeronautical-informatics/apex-linux/blob/76dee04a764113fc9a2eae371972faeac598556b/core/src/cgroup.rs#L88-L91 Return error instead of unwrapping
https://github.com/aeronautical-informatics/apex-linux/blob/76dee04a764113fc9a2eae371972faeac598556b/partition/src/apex.rs#L155-L159 Use ok_or_else with ? instead
?
The text was updated successfully, but these errors were encountered:
I doubt that the latter one is what you want, because read is of type Result<T, E> and not Option<T>
read
Result<T, E>
Option<T>
Sorry, something went wrong.
core: replace while loop with for loop
459c88c
Fixes #38
cf17bb1
cvengler
Successfully merging a pull request may close this issue.
https://github.com/aeronautical-informatics/apex-linux/blob/76dee04a764113fc9a2eae371972faeac598556b/core/src/cgroup.rs#L172-L179 Use for range instead
https://github.com/aeronautical-informatics/apex-linux/blob/76dee04a764113fc9a2eae371972faeac598556b/core/src/cgroup.rs#L88-L91 Return error instead of unwrapping
https://github.com/aeronautical-informatics/apex-linux/blob/76dee04a764113fc9a2eae371972faeac598556b/partition/src/apex.rs#L155-L159 Use ok_or_else with
?
insteadThe text was updated successfully, but these errors were encountered: