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

Document code #15

Merged
merged 1 commit into from
Sep 16, 2020
Merged

Conversation

MarinPostma
Copy link
Contributor

Add some documentation to the code.

Also add a #[must_use] on the register method after spending some time not understanding why my services kept being unregistered.

@willstott101
Copy link
Contributor

Thanks for your contribution towards #7 !

Do you happen to know why the CI might be failing here? I'll try compiling your branch locally, but I haven't seen the CI fail with anything similar recently.

@willstott101 willstott101 merged commit ba7ee01 into librespot-org:master Sep 16, 2020
@willstott101
Copy link
Contributor

OK I figured out what was going on. Just had to wrap your examples in a main returning Result. Seems like a common occurrence, shame there's no shortcut 🤷

Thanks very much for the PR

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