produce Tag instances in the parser (#260)
and.. * fix usage-docs plugin * upgrade mdbook
This commit is contained in:
committed by
GitHub
parent
5a454a5dfd
commit
5f28eb3a74
@@ -30,3 +30,9 @@ macro_rules! set(
|
||||
macro_rules! s(
|
||||
{ $s:expr } => { $s.to_owned() };
|
||||
);
|
||||
|
||||
/// Create a Tag from an &str; just a testing shorthand
|
||||
#[cfg(test)]
|
||||
macro_rules! tag(
|
||||
{ $s:expr } => { { use std::convert::TryFrom; taskchampion::Tag::try_from($s).unwrap() } };
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user