Skip to content

Commit 73455b6

Browse files
committed
or this
1 parent e39ee52 commit 73455b6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/model/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ pub use self::timestamp::Timestamp;
6262
/// use serenity::model::prelude::*;
6363
/// ```
6464
pub mod prelude {
65+
#[cfg(not(feature = "unstable"))]
6566
pub(crate) use serde::de::Visitor;
6667
pub(crate) use serde::{Deserialize, Deserializer};
6768

src/model/utils.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ use std::fmt;
33
use arrayvec::ArrayVec;
44
use serde::de::Error as DeError;
55
use serde_cow::CowStr;
6+
#[cfg(not(feature = "unstable"))]
67
use serde_json::value::RawValue;
78
use small_fixed_array::FixedString;
89

0 commit comments

Comments
 (0)