mirror of
https://github.com/nushell/nushell
synced 2024-11-15 01:17:07 +00:00
Fix build of nu-protocol without plugin feature enabled (#12323)
# Description I broke this, I think in #12279, because I forgot a `#[cfg(plugin)]`
This commit is contained in:
parent
04531357b4
commit
3857e368ff
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ pub struct PluginExample {
|
|||
pub result: Option<Value>,
|
||||
}
|
||||
|
||||
#[cfg(feature = "plugin")]
|
||||
impl From<Example<'_>> for PluginExample {
|
||||
fn from(value: Example) -> Self {
|
||||
PluginExample {
|
||||
|
|
Loading…
Reference in a new issue