refactored, started with get_player_js (TEMP)
This commit is contained in:
parent
0c76125595
commit
0acf8a9fb9
5 changed files with 307 additions and 333 deletions
|
|
@ -1,18 +1,3 @@
|
|||
/// Aggressively prints to the terminal. Useful for rapid debugging in a sea of
|
||||
/// terminal output.
|
||||
#[allow(unused_macros)]
|
||||
macro_rules! highlight {
|
||||
($($arg:tt)+) => (
|
||||
{
|
||||
let indent = ">>>>>";
|
||||
let focus = ">>>>>>";
|
||||
let start = ">>>";
|
||||
let end = ">>>";
|
||||
println!("{}\n{}\n{} {}\n{}\n{}", start,indent,focus,format!($($arg)+),indent,end);
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
/// Returns an unwrapped Option if Some() otherwise returns the passed expression
|
||||
#[allow(unused_macros)]
|
||||
macro_rules! some_or_bail {
|
||||
|
|
|
|||
Reference in a new issue