mirror of
https://github.com/nushell/nushell.git
synced 2024-12-22 23:23:12 +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),
|
||||
}
|
||||
|
||||
// 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)]
|
||||
pub struct ShellError {
|
||||
error: ProximateShellError,
|
||||
|
Loading…
Reference in New Issue
Block a user