From a0dcc9bf3414c329d53e70fb7c6da3c4469200b3 Mon Sep 17 00:00:00 2001 From: Christian Kjaer Laustsen Date: Sat, 24 Jul 2021 13:39:54 +0200 Subject: [PATCH] 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. --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 22c7d127..a8e56339 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -87,7 +87,7 @@ //! //! 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; @@ -95,7 +95,7 @@ //! fn main() { //! # #[cfg(feature = "v4")] { //! let my_uuid = Uuid::new_v4(); -//! println!("{}", my_uuid); +//! println!("{}", my_uuid) //! # } //! } //! ```