From f3dad1ab1f69eddd91cb74f3fa9348f711d61337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Tue, 24 May 2022 15:06:52 +0200 Subject: [PATCH] client: Remove unnecessary cfg_attr --- crates/ruma-client/src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruma-client/src/error.rs b/crates/ruma-client/src/error.rs index 2661b30d..c3c0376c 100644 --- a/crates/ruma-client/src/error.rs +++ b/crates/ruma-client/src/error.rs @@ -6,7 +6,7 @@ use ruma_common::api::error::{FromHttpResponseError, IntoHttpError}; /// An error that can occur during client operations. #[derive(Debug)] -#[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] +#[non_exhaustive] pub enum Error { /// Queried endpoint requires authentication but was called on an anonymous client. AuthenticationRequired,