Skip to content
New issue

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

Fix readme example #269

Merged
merged 1 commit into from
May 13, 2023
Merged

Fix readme example #269

merged 1 commit into from
May 13, 2023

Conversation

popsu
Copy link
Contributor

@popsu popsu commented May 12, 2023

Tried to run the example and it had a small error. procfs::page_size returns a u64, not a Result:

pub fn page_size() -> u64 {

Tried to run the example and it had a small error.
procfs::page_size returns a u64, not a Result:
https://github.com/eminence/procfs/blob/a869cc7e3971dabf3da3d37d1702df62be392513/procfs/src/lib.rs#L341
@eminence
Copy link
Owner

This is another thing I broke in #235

Thanks for the fix!

@eminence eminence merged commit 82ddd31 into eminence:master May 13, 2023
@popsu popsu deleted the fix-readme-example branch May 15, 2023 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants