diff --git a/Cargo.lock b/Cargo.lock index c5c7f0b..1cda257 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,7 +4,7 @@ version = 4 [[package]] name = "dnd-calc" -version = "0.1.0" +version = "1.0.0" dependencies = [ "toml", ] diff --git a/README.md b/README.md new file mode 100644 index 0000000..f4e7381 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# dnd calc +just something todo to learn more rust. + +its a dnd calculator. put your stats into data.toml. then cargo run diff --git a/src/main.rs b/src/main.rs index 4c20c2e..3f5ca39 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,6 +4,8 @@ use std::fs; use toml::{Table, Value}; use std::collections::HashMap; +/// # print the bababoie +/// MONKEY fn print_type_of(_: &T) { println!("{}", std::any::type_name::()); }