readme
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -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",
|
||||||
]
|
]
|
||||||
|
|||||||
4
README.md
Normal file
4
README.md
Normal file
@@ -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>());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user