mirror of
https://github.com/nushell/nushell.git
synced 2024-11-07 09:04:18 +01: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
@ -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 New Issue
Block a user