Skip to content

Commit

Permalink
Fix links to namespaces in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
cstyles committed Jan 19, 2025
1 parent 2166b44 commit 2a28bc5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/v5.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ impl Uuid {
/// * [UUID Version 5 in RFC 9562](https://www.ietf.org/rfc/rfc9562.html#section-5.5)
/// * [Name-Based UUID Generation in RFC 9562](https://www.ietf.org/rfc/rfc9562.html#section-6.5)
///
/// [`NAMESPACE_DNS`]: struct.Uuid.html#associatedconst.NAMESPACE_DNS
/// [`NAMESPACE_OID`]: struct.Uuid.html#associatedconst.NAMESPACE_OID
/// [`NAMESPACE_URL`]: struct.Uuid.html#associatedconst.NAMESPACE_URL
/// [`NAMESPACE_X500`]: struct.Uuid.html#associatedconst.NAMESPACE_X500
/// [`NAMESPACE_DNS`]: struct.Uuid.html#associatedconstant.NAMESPACE_DNS
/// [`NAMESPACE_OID`]: struct.Uuid.html#associatedconstant.NAMESPACE_OID
/// [`NAMESPACE_URL`]: struct.Uuid.html#associatedconstant.NAMESPACE_URL
/// [`NAMESPACE_X500`]: struct.Uuid.html#associatedconstant.NAMESPACE_X500
pub fn new_v5(namespace: &Uuid, name: &[u8]) -> Uuid {
crate::Builder::from_sha1_bytes(crate::sha1::hash(namespace.as_bytes(), name)).into_uuid()
}
Expand Down

0 comments on commit 2a28bc5

Please sign in to comment.