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 lib/trivial docstrings & formatting #44110

Merged
merged 2 commits into from Jul 26, 2018

Conversation

Profpatsch
Copy link
Member

@Profpatsch Profpatsch commented Jul 25, 2018

Improve the documentation of the library. See commit messages for details.

cc @volth

- add section headers
- unify comment syntax
- add examples

Tested with:
nix-instantiate --strict --eval ./lib/tests/misc.nix
The amount of implementation detail really should not be the first thing in a
prominent file called `trivial.nix`.
@Profpatsch Profpatsch merged commit 62dca7c into NixOS:master Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants