api: Add missing cfg for test

This commit is contained in:
Jonas Platte 2022-10-21 22:44:14 +02:00
parent 6642686b58
commit 451a50a77b
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -1,5 +1,6 @@
#![allow(clippy::exhaustive_structs)]
#[cfg(feature = "events")]
pub mod some_endpoint {
use http::header::CONTENT_TYPE;
use ruma_common::{