mirror of https://github.com/rust-lang/rfcs.git
Merge pull request #3375 from GitNiko/patch-1
3192-dyno update plugin example
This commit is contained in:
commit
f4414ddaf3
|
@ -266,7 +266,7 @@ fn log_plugin_stats(plugin: &dyn Plugin) {
|
|||
}
|
||||
}
|
||||
|
||||
fn log_active_rules(f: &mut dyn Plugin) {
|
||||
fn log_active_rules(plugin: &mut dyn Plugin) {
|
||||
if let Some(rules) = plugin.borrow_plugin_data::<[Rule]>() {
|
||||
for r in rules {
|
||||
log(plugin.id(), r);
|
||||
|
|
Loading…
Reference in New Issue