Created
June 12, 2018 11:43
-
-
Save mitsuhiko/be2869892fc7d7047abc3e5d0651e4f9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub fn add_scope_processor<F>(&mut self, f: Box<F>) | |
where | |
F: Fn(&mut Event) + Sync + Send + ?Sized, | |
Box<F>: im::shared::Shared<Box<Fn(&mut Event) + Sync + Send>>, | |
{ | |
self.scope_processors = self.scope_processors.push_back(f); | |
} |
hadronized
commented
Jun 12, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment