Skip to content

Commit 8363fef

Browse files
committed
chore: remove leftover code
1 parent f27f09d commit 8363fef

File tree

1 file changed

+0
-52
lines changed

1 file changed

+0
-52
lines changed

src/error.rs

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -353,55 +353,3 @@ impl_stack_error_for_std_error!(std::str::Utf8Error);
353353
impl_stack_error_for_std_error!(std::string::FromUtf8Error);
354354
impl_stack_error_for_std_error!(std::net::AddrParseError);
355355
impl_stack_error_for_std_error!(std::array::TryFromSliceError);
356-
357-
// impl StackError for Box<dyn StackError> {
358-
// fn as_std(&self) -> &(dyn std::error::Error + Send + Sync + 'static) {
359-
// StackError::as_std(&**self)
360-
// }
361-
362-
// fn as_dyn(&self) -> &dyn StackError {
363-
// StackError::as_dyn(&**self)
364-
// }
365-
366-
// fn meta(&self) -> Option<&Meta> {
367-
// StackError::meta(&**self)
368-
// }
369-
370-
// fn source(&self) -> Option<ErrorRef<'_>> {
371-
// StackError::source(&**self)
372-
// }
373-
374-
// fn fmt_message(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
375-
// StackError::fmt_message(&**self, f)
376-
// }
377-
378-
// fn is_transparent(&self) -> bool {
379-
// StackError::is_transparent(&**self)
380-
// }
381-
// }
382-
383-
// impl StackError for std::sync::Arc<dyn StackError> {
384-
// fn as_std(&self) -> &(dyn std::error::Error + Send + Sync + 'static) {
385-
// StackError::as_std(&**self)
386-
// }
387-
388-
// fn as_dyn(&self) -> &dyn StackError {
389-
// StackError::as_dyn(&**self)
390-
// }
391-
392-
// fn meta(&self) -> Option<&Meta> {
393-
// StackError::meta(&**self)
394-
// }
395-
396-
// fn source(&self) -> Option<ErrorRef<'_>> {
397-
// StackError::source(&**self)
398-
// }
399-
400-
// fn fmt_message(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
401-
// StackError::fmt_message(&**self, f)
402-
// }
403-
404-
// fn is_transparent(&self) -> bool {
405-
// StackError::is_transparent(&**self)
406-
// }
407-
// }

0 commit comments

Comments
 (0)