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

doc: Add examples for build_with_hasher method of cache builders #216

Merged
merged 3 commits into from
Feb 1, 2023

Conversation

tatsuya6502
Copy link
Member

This is a documentation update. It adds examples to cache builder's build_with_hasher. It will make it clear that user should specify the type of S explicitly. (Cache<K, V, S> instead of Cache<K, V>).


Fixes #214.

@tatsuya6502 tatsuya6502 self-assigned this Feb 1, 2023
@tatsuya6502 tatsuya6502 added the documentation Improvements or additions to documentation label Feb 1, 2023
@tatsuya6502 tatsuya6502 added this to the v0.9.7 milestone Feb 1, 2023
@tatsuya6502 tatsuya6502 linked an issue Feb 1, 2023 that may be closed by this pull request
In order to avoid a strange error from old Cargo for the MSRV v1.51.0, specify ahash
v0.8.0 in dev-dependencies in the Cargo.toml instead of v0.8.3.
Copy link
Member Author

@tatsuya6502 tatsuya6502 left a comment

Choose a reason for hiding this comment

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

Merging.

@tatsuya6502 tatsuya6502 merged commit e2fc50a into maint-09 Feb 1, 2023
@tatsuya6502 tatsuya6502 deleted the build-with-hasher-doc branch February 6, 2023 12:51
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

Successfully merging this pull request may close these issues.

how to use build_with_hash?
1 participant