tools/rc/to_f64.rs
author Wuzzy <Wuzzy@disroot.org>
Wed, 24 May 2023 23:54:58 +0200
changeset 15954 6a985a680c44
parent 15951 5aed6c0b63e2
permissions -rw-r--r--
Don't destroy chat when window loses focus (bug #623)

pub fn to_f64<T: Into<f64>>(v: T) -> f64 {
    v.into()
}