to_hyphenated -> as_hyphenated
This commit is contained in:
@@ -101,7 +101,7 @@ pub unsafe extern "C" fn tc_uuid_to_buf(tcuuid: TCUuid, buf: *mut libc::c_char)
|
|||||||
// SAFETY:
|
// SAFETY:
|
||||||
// - tcuuid is a valid TCUuid (all byte patterns are valid)
|
// - tcuuid is a valid TCUuid (all byte patterns are valid)
|
||||||
let uuid: Uuid = unsafe { TCUuid::val_from_arg(tcuuid) };
|
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
|
/// Return the hyphenated string representation of a TCUuid. The returned string
|
||||||
|
|||||||
Reference in New Issue
Block a user