From a990de90fe41456a23e58bd087d2f107d321f3a1 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 19 Jul 2024 16:37:58 +0400 Subject: Deleted vendor folder --- vendor/thiserror-impl/src/span.rs | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 vendor/thiserror-impl/src/span.rs (limited to 'vendor/thiserror-impl/src/span.rs') diff --git a/vendor/thiserror-impl/src/span.rs b/vendor/thiserror-impl/src/span.rs deleted file mode 100644 index c1237dd..0000000 --- a/vendor/thiserror-impl/src/span.rs +++ /dev/null @@ -1,15 +0,0 @@ -use proc_macro2::Span; -use syn::Member; - -pub trait MemberSpan { - fn member_span(&self) -> Span; -} - -impl MemberSpan for Member { - fn member_span(&self) -> Span { - match self { - Member::Named(ident) => ident.span(), - Member::Unnamed(index) => index.span, - } - } -} -- cgit v1.2.3