mirror of
https://github.com/nushell/nushell.git
synced 2025-01-24 15:19:29 +01:00
Remove some commented out code
This commit is contained in:
parent
8504c7a8e6
commit
ad3234a9a0
@ -41,16 +41,6 @@ pub enum ArgumentError {
|
|||||||
MissingValueForName(String),
|
MissingValueForName(String),
|
||||||
}
|
}
|
||||||
|
|
||||||
// pub fn labelled(
|
|
||||||
// span: impl Into<Span>,
|
|
||||||
// heading: &'a str,
|
|
||||||
// span_message: &'a str,
|
|
||||||
// ) -> impl FnOnce(ShellError) -> ShellError + 'a {
|
|
||||||
// let span = span.into();
|
|
||||||
|
|
||||||
// move |_| ShellError::labeled_error(heading, span_message, span)
|
|
||||||
// }
|
|
||||||
|
|
||||||
#[derive(Debug, Eq, PartialEq, Clone, Ord, PartialOrd, Serialize, Deserialize)]
|
#[derive(Debug, Eq, PartialEq, Clone, Ord, PartialOrd, Serialize, Deserialize)]
|
||||||
pub struct ShellError {
|
pub struct ShellError {
|
||||||
error: ProximateShellError,
|
error: ProximateShellError,
|
||||||
|
Loading…
Reference in New Issue
Block a user