# Objective Improve code quality and performance ## Solution Instead of using `plugin.downcast_ref::<T>().is_some()` in `App::is_plugin_added`, use `plugin.is::<T>()`. Which is more performant and cleaner. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||
# Objective Improve code quality and performance ## Solution Instead of using `plugin.downcast_ref::<T>().is_some()` in `App::is_plugin_added`, use `plugin.is::<T>()`. Which is more performant and cleaner. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||