Skip to content

Fix an example code in doc comments (cargo test tries to run it) #928

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yczhangsjtu
Copy link
Collaborator

Cargo test fails on my laptop in master because it tries to run an example snippet in the documentation comment of the function split_by_sizes. Fixed that snippet.

Copy link
Collaborator

@hero78119 hero78119 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May I know what the command to trigger docs test?
probably we can add it in CI (+ cargo.make script)

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