Crates.io | cargo-turbofish |
lib.rs | cargo-turbofish |
version | 0.0.2 |
source | src |
created_at | 2022-03-22 10:56:41.862436 |
updated_at | 2022-03-27 04:34:58.075773 |
description | Add turbofish to your project |
homepage | |
repository | https://github.com/btwiuse/cargo-turbofish |
max_upload_size | |
id | 554629 |
size | 15,867 |
Add foxes to your project, as inspired by this tweet.
cargo install cargo-turbofish
cargo turbofish
It takes
fn main() {
println!("Hello world!");
}
and turns it into
// turbofish.
fn main() {
println!("Hello world!");
}
(Fox locations are chosen at random.)