Skip to content

Commit

Permalink
Enable doc testing of Uuid::new_v4 example
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Tehnix committed Jul 24, 2021
1 parent df0dc49 commit a0dcc9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Expand Up @@ -87,15 +87,15 @@
//!
//! To create a new random (V4) UUID and print it out in hexadecimal form:
//!
//! ```ignore,rust
//! ```rust
//! // Note that this requires the `v4` feature enabled in the uuid crate.
//!
//! use uuid::Uuid;
//!
//! fn main() {
//! # #[cfg(feature = "v4")] {
//! let my_uuid = Uuid::new_v4();
//! println!("{}", my_uuid);
//! println!("{}", my_uuid)
//! # }
//! }
//! ```
Expand Down

0 comments on commit a0dcc9b

Please sign in to comment.