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

Update Uuid::new_v4 documentation to reflect Try no longer being implemented #521

Merged
merged 2 commits into from Aug 3, 2021

Commits on Jul 24, 2021

  1. Remove ? from the Uuid::new_v4 example

    It seems Uuid no longer implements `Try`, which makes Uuid::new_v4()? fail compilation. The `?`
    was removed from the README in commit 8962ef6 but 
    was not removed from the rust-doc in lib.rs.
    
    Additionally, this also hides `#[cfg(feature = "v4")]` from the docs.
    Tehnix committed Jul 24, 2021
    Copy the full SHA
    df0dc49 View commit details
    Browse the repository at this point in the history
  2. Enable doc testing of Uuid::new_v4 example

    The doc testing of the Uuid::new_v4() example was currently disabled,
    but after fixing the errors in df0dc49 the test is now working again.
    Tehnix committed Jul 24, 2021
    Copy the full SHA
    a0dcc9b View commit details
    Browse the repository at this point in the history