libcosmic/cosmic-theme
Adil Hanney 434a7374a8
Revert "tweak: use format_args for efficiency"
This reverts commit 61486fae7d.

We convert the color inside the function, so we can't reference it outside the function

error[E0515]: cannot return value referencing local variable `c_u8`
   --> /home/ahann/Documents/GitHub/libcosmic/cosmic-theme/src/output/qt_output.rs:340:5
    |
340 |     format_args!("{},{},{}", c_u8.red, c_u8.green, c_u8.blue)
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^^^^^^
    |     |                                              |
    |     |                                              `c_u8` is borrowed here
    |     returns a value referencing data owned by the current function
    |
2026-02-10 23:44:51 +00:00
..
src Revert "tweak: use format_args for efficiency" 2026-02-10 23:44:51 +00:00
Cargo.toml chore: use std::syncLazyLock 2025-09-03 21:54:46 +02:00
README.md Cosmic advanced text (#103) 2023-05-30 12:03:15 -04:00

WIP