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/src/provide.rs | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 vendor/thiserror/src/provide.rs (limited to 'vendor/thiserror/src/provide.rs') diff --git a/vendor/thiserror/src/provide.rs b/vendor/thiserror/src/provide.rs deleted file mode 100644 index 7b4e922..0000000 --- a/vendor/thiserror/src/provide.rs +++ /dev/null @@ -1,20 +0,0 @@ -use std::error::{Error, Request}; - -#[doc(hidden)] -pub trait ThiserrorProvide: Sealed { - fn thiserror_provide<'a>(&'a self, request: &mut Request<'a>); -} - -impl ThiserrorProvide for T -where - T: Error + ?Sized, -{ - #[inline] - fn thiserror_provide<'a>(&'a self, request: &mut Request<'a>) { - self.provide(request); - } -} - -#[doc(hidden)] -pub trait Sealed {} -impl Sealed for T {} -- cgit v1.2.3