Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c540fd3 authored by howardchung's avatar howardchung
Browse files

Floss: Change UUID print format to lower cases

Per spec: https://www.rfc-editor.org/rfc/rfc4122#section-3

UUID output format should be in lower case.

Bug: 239470589
Test: run ./build.py --target test

Change-Id: Ib8efd87af105117189b9ebbfe230362294fec497
parent 0854c643
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -384,7 +384,7 @@ impl Uuid {

    /// Formats this UUID to a human-readable representation.
    pub fn format(uuid: &Uuid128Bit, f: &mut Formatter) -> Result {
        write!(f, "{:02x}{:02x}{:02x}{:02x}-{:02x}{:02x}-{:02x}{:02x}-{:02x}{:02x}-{:02X}{:02X}{:02X}{:02X}{:02X}{:02X}",
        write!(f, "{:02x}{:02x}{:02x}{:02x}-{:02x}{:02x}-{:02x}{:02x}-{:02x}{:02x}-{:02x}{:02x}{:02x}{:02x}{:02x}{:02x}",
            uuid[0], uuid[1], uuid[2], uuid[3],
            uuid[4], uuid[5],
            uuid[6], uuid[7],