]> git.proxmox.com Git - ui/proxmox-yew-comp.git/commit
http helpers: make thread_local variables const
authorShannon Sterz <s.sterz@proxmox.com>
Fri, 27 Dec 2024 11:34:20 +0000 (12:34 +0100)
committerShannon Sterz <s.sterz@proxmox.com>
Tue, 7 Jan 2025 09:08:29 +0000 (10:08 +0100)
commit663d083684b960a0e444176417daf7b6dcb9b000
treeb7e9e1c208a6346c3cf64ef671ccc8d654e8f74c
parentb06db319654362f7b1d0c6ec4a5191f9dec37ec4
http helpers: make thread_local variables const

this fixes the clippy lint `missing_const_for_thread_local` [1].

[1]:
https://rust-lang.github.io/rust-clippy/master/#missing_const_for_thread_local
src/http_helpers.rs