mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-07 00:06:24 +03:00
Quick documentation fix
This commit is contained in:
parent
b3e1fd0740
commit
c956a8866e
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user