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