mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(rpc): created EthApiBuilder type (#14041)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -113,7 +113,7 @@ pub struct TokioTaskExecutor;
|
||||
|
||||
impl TokioTaskExecutor {
|
||||
/// Converts the instance to a boxed [`TaskSpawner`].
|
||||
pub fn boxed(self) -> Box<dyn TaskSpawner> {
|
||||
pub fn boxed(self) -> Box<dyn TaskSpawner + 'static> {
|
||||
Box::new(self)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user