Skip to content

Commit

Permalink
Add Send + Sync bound to load result.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjadamson authored and flomonster committed Jan 19, 2023
1 parent c722df8 commit 8cef19c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub use scene::*;
/// # Ok(())
/// # }
/// ```
pub fn load<P>(path: P) -> Result<Vec<Scene>, Box<dyn Error>>
pub fn load<P>(path: P) -> Result<Vec<Scene>, Box<dyn Error + Send + Sync>>
where
P: AsRef<Path>,
{
Expand Down

0 comments on commit 8cef19c

Please sign in to comment.