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

Mention the fact that the book uses some APIs from the git version #408

Merged
merged 2 commits into from
Dec 6, 2023

Conversation

tigerros
Copy link

@tigerros tigerros commented Dec 2, 2023

I was going through the book and noticed that some APIs in it (e.g., position) are not in the crates.io version (currently 0.1.8). This PR just adds a warning at the beginning of the book. I know there's a note saying that the book is not always accurate, but it's not very helpful and explicit in this particular case.

Copy link

codecov bot commented Dec 2, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (bc04082) 53.23% compared to head (d8edc6e) 53.23%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #408   +/-   ##
=======================================
  Coverage   53.23%   53.23%           
=======================================
  Files         143      143           
  Lines       12665    12665           
=======================================
  Hits         6742     6742           
  Misses       5923     5923           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@marc2332
Copy link
Owner

marc2332 commented Dec 2, 2023

I would then remove my note and just leave yours, thoughts?

@marc2332 marc2332 closed this Dec 2, 2023
@marc2332 marc2332 reopened this Dec 2, 2023
@marc2332
Copy link
Owner

marc2332 commented Dec 2, 2023

Oops, lol

@marc2332 marc2332 self-requested a review December 2, 2023 18:15
@tigerros
Copy link
Author

tigerros commented Dec 2, 2023

Sure. I also added a more generic disclaimer to not fully trust the book, rather than just warn about "nightly" APIs being used.

@marc2332 marc2332 added documentation Improvements or additions to documentation enhancement 🔥 New feature or request labels Dec 3, 2023
@marc2332 marc2332 merged commit ee4cfbc into marc2332:main Dec 6, 2023
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 enhancement 🔥 New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants