diff --git a/src/cache.rs b/src/cache.rs index 6f29ac2..6bd3e72 100644 --- a/src/cache.rs +++ b/src/cache.rs @@ -43,7 +43,7 @@ pub enum Event { pub struct Guilds(Arc); impl Guilds { - pub fn new(cache: Arc) -> Self { + pub const fn new(cache: Arc) -> Self { Self(cache) }