mirror of
https://github.com/nushell/nushell.git
synced 2025-08-15 10:53:38 +02:00
Add unit parsing and eval support
This commit is contained in:
@ -1,7 +1,11 @@
|
||||
use miette::SourceSpan;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
pub struct Spanned<T> {
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Spanned<T>
|
||||
where
|
||||
T: Clone + std::fmt::Debug,
|
||||
{
|
||||
pub item: T,
|
||||
pub span: Span,
|
||||
}
|
||||
|
Reference in New Issue
Block a user