mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
26 lines
511 B
Rust
26 lines
511 B
Rust
|
/// This is not sufficiently documented
|
||
|
pub unsafe fn destroy_the_planet() {
|
||
|
unimplemented!();
|
||
|
}
|
||
|
|
||
|
/// This one is
|
||
|
///
|
||
|
/// # Safety
|
||
|
///
|
||
|
/// This function shouldn't be called unless the horsemen are ready
|
||
|
pub unsafe fn apocalypse(universe: &mut ()) {
|
||
|
unimplemented!();
|
||
|
}
|
||
|
|
||
|
/// This is a private function, so docs aren't necessary
|
||
|
unsafe fn you_dont_see_me() {
|
||
|
unimplemented!();
|
||
|
}
|
||
|
|
||
|
fn main() {
|
||
|
you_dont_see_me();
|
||
|
destroy_the_planet();
|
||
|
let mut universe = ();
|
||
|
apocalypse(&mut universe);
|
||
|
}
|