mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 11:46:42 +01:00
0.9.1: fix get_value/get_content invocations
This commit is contained in:
parent
f11c27b8c9
commit
6048d24880
4 changed files with 12 additions and 12 deletions
|
|
@ -72,7 +72,7 @@ pub(crate) use std::fmt::Debug;
|
|||
if let Some(value) = $state.get(&$token.value) {
|
||||
value
|
||||
} else {
|
||||
panic!("no value corresponding to for {:?}", &$token.value);
|
||||
panic!("no value corresponding to {:?}", &$token.value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -82,7 +82,7 @@ pub(crate) use std::fmt::Debug;
|
|||
if let Some(content) = $state.get_content(&$token.value) {
|
||||
content
|
||||
} else {
|
||||
panic!("no content corresponding to for {:?}", &$token.value);
|
||||
panic!("no content corresponding to {:?}", &$token.value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue