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

More doc #38

Merged
merged 8 commits into from
Aug 31, 2016
Merged

More doc #38

merged 8 commits into from
Aug 31, 2016

Conversation

overvenus
Copy link
Member

Close #21
Ref #22

PTAL @siddontang @queenypingcap

@siddontang
Copy link
Contributor

we can add a doc test for https://github.com/pingcap/rust-prometheus/blob/master/src/histogram.rs#L43, and then make this function private.

@overvenus
Copy link
Member Author

overvenus commented Aug 31, 2016

Doc tests can not access to private functions, however, we can tests private functions in other ways like this

@siddontang
Copy link
Contributor

LGTM

Conflicts:
	examples/example_embed.rs
	src/lib.rs
@siddontang siddontang merged commit 2287951 into tikv:master Aug 31, 2016
@overvenus overvenus deleted the more-doc branch September 24, 2016 08:57
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.

None yet

2 participants