api: Add missing cfg for test
This commit is contained in:
parent
6642686b58
commit
451a50a77b
@ -1,5 +1,6 @@
|
|||||||
#![allow(clippy::exhaustive_structs)]
|
#![allow(clippy::exhaustive_structs)]
|
||||||
|
|
||||||
|
#[cfg(feature = "events")]
|
||||||
pub mod some_endpoint {
|
pub mod some_endpoint {
|
||||||
use http::header::CONTENT_TYPE;
|
use http::header::CONTENT_TYPE;
|
||||||
use ruma_common::{
|
use ruma_common::{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user