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

Improve documentation about maintaining LineHandles #30

Merged

Conversation

kmdouglass
Copy link
Contributor

This commit addresses #29 by expanding the documentation to explain the
importance of maintaining valid LineHandles in a program that uses this library.

  • A comment was added to the Read State code example in the README to explain
    that the LineHandle must be maintained for the line to work
  • A similar comment was added to the driveoutput.rs example
  • A brief explanation was added to the section entitled "Exporting" a GPIO of
    the README about the file descriptor that is associated with a line

This commit addresses \rust-embedded#29 by expanding the documentation to explain the
importance of maintaining valid LineHandles in a program that uses this library.

- A comment was added to the Read State code example in the README to explain
  that the LineHandle must be maintained for the line to work
- A similar comment was added to the `driveoutput.rs` example
- A brief explanation was added to the section entitled "Exporting" a GPIO of
  the README about the file descriptor that is associated with a line
@nastevens
Copy link
Member

bors r+

bors bot added a commit that referenced this pull request Jan 15, 2020
30: Improve documentation about maintaining LineHandles r=nastevens a=kmdouglass

This commit addresses #29 by expanding the documentation to explain the
importance of maintaining valid LineHandles in a program that uses this library.

- A comment was added to the Read State code example in the README to explain
  that the LineHandle must be maintained for the line to work
- A similar comment was added to the `driveoutput.rs` example
- A brief explanation was added to the section entitled "Exporting" a GPIO of
  the README about the file descriptor that is associated with a line

Co-authored-by: Kyle M. Douglass <kyle.m.douglass@gmail.com>
@bors
Copy link
Contributor

bors bot commented Jan 15, 2020

Build succeeded

@bors bors bot merged commit 872abf5 into rust-embedded:master Jan 15, 2020
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.

3 participants