Simplify setup a bit

This commit is contained in:
Adrian Heine 2023-03-04 16:43:29 +01:00
parent 06ff70c38d
commit 877af00806
3 changed files with 17 additions and 24 deletions

View file

@ -13,7 +13,6 @@ pub trait AddableResource: 'static + Resource + Debug {}
impl<R> AddableResource for R where R: 'static + Resource + Debug {}
pub type AddResult<R> = Result<(<R as ToArtifact>::Artifact, bool), Box<dyn Error>>;
pub type InternalAddResult<R> = Result<(<R as ToArtifact>::Artifact, bool), Box<dyn Error>>;
// From https://users.rust-lang.org/t/how-to-send-a-writer-into-a-thread/4965/10
#[derive(Clone)]