Skip to content

Commit

Permalink
Make clippy happy
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Reidel <[email protected]>
  • Loading branch information
Gelbpunkt committed Jun 24, 2024
1 parent b014ced commit 12d5d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub enum Event {
pub struct Guilds(Arc<InMemoryCache>);

impl Guilds {
pub fn new(cache: Arc<InMemoryCache>) -> Self {
pub const fn new(cache: Arc<InMemoryCache>) -> Self {
Self(cache)
}

Expand Down

0 comments on commit 12d5d67

Please sign in to comment.