client: Remove unnecessary cfg_attr

This commit is contained in:
Kévin Commaille 2022-05-24 15:06:52 +02:00 committed by Kévin Commaille
parent 07c6074b8a
commit f3dad1ab1f

View File

@ -6,7 +6,7 @@ use ruma_common::api::error::{FromHttpResponseError, IntoHttpError};
/// An error that can occur during client operations. /// An error that can occur during client operations.
#[derive(Debug)] #[derive(Debug)]
#[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] #[non_exhaustive]
pub enum Error<E, F> { pub enum Error<E, F> {
/// Queried endpoint requires authentication but was called on an anonymous client. /// Queried endpoint requires authentication but was called on an anonymous client.
AuthenticationRequired, AuthenticationRequired,