mirror of
https://github.com/nushell/nushell.git
synced 2025-05-17 08:20:49 +02:00
Take more sensitive lints into account Somewhat ugly in some cases is the replacement of `.get(0)` with `.first()`
9 lines
186 B
Rust
9 lines
186 B
Rust
use nu_protocol::Span;
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Serialize, Deserialize, Debug, PartialEq, Eq)]
|
|
pub struct PluginData {
|
|
pub data: Vec<u8>,
|
|
pub span: Span,
|
|
}
|