readme
This commit is contained in:
parent
962d407b3f
commit
c577152f8f
|
@ -4,7 +4,7 @@ version = 4
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "dnd-calc"
|
name = "dnd-calc"
|
||||||
version = "0.1.0"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"toml",
|
"toml",
|
||||||
]
|
]
|
||||||
|
|
|
@ -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
|
|
@ -4,6 +4,8 @@ use std::fs;
|
||||||
use toml::{Table, Value};
|
use toml::{Table, Value};
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
||||||
|
/// # print the bababoie
|
||||||
|
/// MONKEY
|
||||||
fn print_type_of<T>(_: &T) {
|
fn print_type_of<T>(_: &T) {
|
||||||
println!("{}", std::any::type_name::<T>());
|
println!("{}", std::any::type_name::<T>());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue