mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
to_hyphenated -> as_hyphenated
This commit is contained in:
parent
99dd74bef7
commit
f9b19526f0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue