From f9b19526f004297d3354f00fe6f01af96b53d72e Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Fri, 27 May 2022 02:44:30 +0000 Subject: [PATCH] to_hyphenated -> as_hyphenated --- rust/lib/src/uuid.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/lib/src/uuid.rs b/rust/lib/src/uuid.rs index 8284caac2..4a41d6180 100644 --- a/rust/lib/src/uuid.rs +++ b/rust/lib/src/uuid.rs @@ -101,7 +101,7 @@ pub unsafe extern "C" fn tc_uuid_to_buf(tcuuid: TCUuid, buf: *mut libc::c_char) // SAFETY: // - tcuuid is a valid TCUuid (all byte patterns are valid) let uuid: Uuid = unsafe { TCUuid::val_from_arg(tcuuid) }; - uuid.to_hyphenated().encode_lower(buf); + uuid.as_hyphenated().encode_lower(buf); } /// Return the hyphenated string representation of a TCUuid. The returned string