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

Docs: Find more readable example #1

Open
WanzenBug opened this issue Jun 27, 2019 · 0 comments
Open

Docs: Find more readable example #1

WanzenBug opened this issue Jun 27, 2019 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@WanzenBug
Copy link
Owner

Switch to a more consice and clear example

For example:

fn test_basic() {
    let mut buf = vec![1, 2, 3, 4, 5];
    rle_decode(&mut buf, 3, 10);
    assert_eq!(buf, &[1, 2, 3, 4, 5, 3, 4, 5, 3, 4, 5, 3, 4, 5, 3]);
}
@WanzenBug WanzenBug added the documentation Improvements or additions to documentation label Jun 27, 2019
@WanzenBug WanzenBug self-assigned this Jun 27, 2019
@WanzenBug WanzenBug added this to the 1.0 milestone Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant