Make converstion to intermediate state async.

We are going to need to do things like call external tools for syntax highlighting so we are going to need async in there eventually.
This commit is contained in:
Tom Alexander
2023-10-27 15:55:19 -04:00
parent 4a6948cde7
commit f9377d7609
9 changed files with 48 additions and 35 deletions

View File

@@ -10,7 +10,7 @@ pub(crate) struct ITarget {
}
impl ITarget {
pub(crate) fn new<'parse>(
pub(crate) async fn new<'parse>(
registry: &mut Registry<'parse>,
target: &organic::types::Target<'parse>,
) -> Result<ITarget, CustomError> {