Quick documentation fix

This commit is contained in:
Isaac Clayton 2022-07-13 13:21:45 +02:00
parent b3e1fd0740
commit c956a8866e

View File

@ -345,8 +345,6 @@ impl PluginBuilder {
/// Initializes a [`Plugin`] from a given compiled Wasm module.
/// Both binary (`.wasm`) and text (`.wat`) module formats are supported.
/// Will panic if this is plugin uses `PluginYield::Epoch`,
/// but an epoch incrementer has not yet been created.
pub async fn init<T: AsRef<[u8]>>(self, precompiled: bool, module: T) -> Result<Plugin, Error> {
Plugin::init(precompiled, module.as_ref(), self).await
}