-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add clarifications for documentation (#28)
This PR modifies the text of `lib.rs` and `trait ImplicitClone` documentations, hopefully clarifying some points that caused #6. Also while writing new documentation, I've noticed missing implementation for a `Copy` type `&T`. There was present implementation for `&'static str`, but it not only does not have to be `'static`, it does not even have to be `str` - it can be `T: ?Sized`. Added some tests for the `lib.rs` types, as means of more documentation and examples of using the crate. I believe this will be my last PR before 0.4.1. --------- Co-authored-by: Cecile Tonglet <[email protected]>
- Loading branch information
1 parent
d3bb992
commit 5f2072c
Showing
2 changed files
with
126 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters