14 lines
206 B
Rust
14 lines
206 B
Rust
#![feature(plugin)]
|
|
#![plugin(clippy)]
|
|
#![allow(clippy)]
|
|
|
|
fn main() { }
|
|
|
|
pub trait Convert {
|
|
type Action: From<*const f64>;
|
|
|
|
fn convert(val: *const f64) -> Self::Action {
|
|
val.into()
|
|
}
|
|
}
|