reverting to 2018 to fix build checks

This commit is contained in:
Rick Richardson 2022-08-17 10:46:21 -07:00
parent 95a54b8e63
commit 1b14a11c1f
No known key found for this signature in database
GPG Key ID: 55408A0BEC59F4CF
2 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@ categories = [
] ]
description = "A library to generate and parse UUIDs." description = "A library to generate and parse UUIDs."
documentation = "https://docs.rs/uuid" documentation = "https://docs.rs/uuid"
edition = "2021" edition = "2018"
exclude = [ exclude = [
".github/**" ".github/**"
] ]

View File

@ -6,6 +6,7 @@
use crate::rng::{bytes, u16}; use crate::rng::{bytes, u16};
use crate::timestamp::Timestamp; use crate::timestamp::Timestamp;
use crate::{Uuid, Version}; use crate::{Uuid, Version};
use core::convert::TryInto;
impl Uuid { impl Uuid {
/// Create a new UUID (version 7) using a time value + random number /// Create a new UUID (version 7) using a time value + random number