chore: cargo fmt
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
/// That's it! The plugin is ready.
|
||||
///
|
||||
/// ## When not to use it
|
||||
///
|
||||
///
|
||||
/// This macro shall not be used if you want to have
|
||||
/// fields in your plugin.
|
||||
///
|
||||
|
||||
@@ -48,7 +48,7 @@ pub trait EwwiiAPI: Send + Sync {
|
||||
/// _(include-rhai)_ Perform actions on the latest rhai engine.
|
||||
///
|
||||
/// # Example
|
||||
///
|
||||
///
|
||||
/// ```rust
|
||||
/// host.rhai_engine_action(Box::new(|eng| {
|
||||
/// // eng = rhai::Engine
|
||||
@@ -65,7 +65,7 @@ pub trait EwwiiAPI: Send + Sync {
|
||||
/// _(include-gtk4)_ Perform actions on the latest widget registry.
|
||||
///
|
||||
/// # Example
|
||||
///
|
||||
///
|
||||
/// ```rust
|
||||
/// host.widget_reg_action(Box::new(|wrg| {
|
||||
/// // wrg = widget_backend::WidgetRegistryRepr
|
||||
@@ -89,7 +89,7 @@ pub trait EwwiiAPI: Send + Sync {
|
||||
/// use ewwii_plugin_api::{Plugin, export_plugin};
|
||||
///
|
||||
/// sturct MyStruct;
|
||||
///
|
||||
///
|
||||
/// impl Plugin for MyStruct {
|
||||
/// /* Implementation Skipped */
|
||||
/// }
|
||||
|
||||
@@ -18,4 +18,4 @@ mod gtk4_included {
|
||||
}
|
||||
|
||||
#[cfg(feature = "include-gtk4")]
|
||||
pub use gtk4_included::*;
|
||||
pub use gtk4_included::*;
|
||||
|
||||
Reference in New Issue
Block a user