clippy 0.0.208

A bunch of helpful lints to avoid common pitfalls in Rust


#![allow(clippy)]

fn main() { }

pub trait Convert {
    type Action: From<*const f64>;

    fn convert(val: *const f64) -> Self::Action {
        val.into()
    }
}