mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 14:38:46 +00:00
11 lines
171 B
Rust
11 lines
171 B
Rust
#![allow(clippy::all)]
|
|
|
|
fn main() {}
|
|
|
|
pub trait Convert {
|
|
type Action: From<*const f64>;
|
|
|
|
fn convert(val: *const f64) -> Self::Action {
|
|
val.into()
|
|
}
|
|
}
|