From 6d63d3f09566508a8fb885132a2a6df9430c151f Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Thu, 3 Mar 2022 15:08:14 +0100 Subject: [PATCH] Rename wrapper::clap::plugin to *::wrapper To match the struct name. --- src/wrapper/clap.rs | 2 +- src/wrapper/clap/context.rs | 2 +- src/wrapper/clap/factory.rs | 2 +- src/wrapper/clap/{plugin.rs => wrapper.rs} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename src/wrapper/clap/{plugin.rs => wrapper.rs} (100%) diff --git a/src/wrapper/clap.rs b/src/wrapper/clap.rs index 4155446a..11469459 100644 --- a/src/wrapper/clap.rs +++ b/src/wrapper/clap.rs @@ -4,7 +4,7 @@ mod util; mod context; mod descriptor; mod factory; -mod plugin; +mod wrapper; /// Re-export for the wrapper. pub use self::factory::Factory; diff --git a/src/wrapper/clap/context.rs b/src/wrapper/clap/context.rs index 132d7c51..445547be 100644 --- a/src/wrapper/clap/context.rs +++ b/src/wrapper/clap/context.rs @@ -2,7 +2,7 @@ use parking_lot::RwLockWriteGuard; use std::collections::VecDeque; use std::sync::atomic::Ordering; -use super::plugin::{Task, Wrapper}; +use super::wrapper::{Task, Wrapper}; use crate::context::ProcessContext; use crate::event_loop::EventLoop; use crate::plugin::{ClapPlugin, NoteEvent}; diff --git a/src/wrapper/clap/factory.rs b/src/wrapper/clap/factory.rs index 8f14d6d5..6546d8b0 100644 --- a/src/wrapper/clap/factory.rs +++ b/src/wrapper/clap/factory.rs @@ -7,7 +7,7 @@ use std::ptr; use std::sync::Arc; use super::descriptor::PluginDescriptor; -use super::plugin::Wrapper; +use super::wrapper::Wrapper; use crate::ClapPlugin; /// The plugin's factory. Initialized using a lazy_static from the entry poiunt's `get_factory()` diff --git a/src/wrapper/clap/plugin.rs b/src/wrapper/clap/wrapper.rs similarity index 100% rename from src/wrapper/clap/plugin.rs rename to src/wrapper/clap/wrapper.rs