Fix binstalk_fetchers::FetchError definition (#1711)

Rm useless cfg on it
This commit is contained in:
Jiahao XU 2024-06-10 22:17:45 +10:00 committed by GitHub
parent 5bcc243741
commit 52f172c713
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,7 +41,6 @@ pub struct InvalidPkgFmtError {
#[derive(Debug, ThisError, miette::Diagnostic)]
#[non_exhaustive]
#[cfg_attr(feature = "miette", derive(miette::Diagnostic))]
pub enum FetchError {
#[error(transparent)]
Download(#[from] DownloadError),