Skip to content

Commit

Permalink
Ignoring warning in example
Browse files Browse the repository at this point in the history
This warning is only encountered when not all feature flags are
specified.
  • Loading branch information
ecton committed Sep 12, 2023
1 parent 990e25e commit 7a665c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/basic-server/examples/custom-api.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//! Shows basic setup of a custom api server.
//!
//! This example has a section in the User Guide: https://dev.bonsaidb.io/main/guide/about/access-models/custom-api-server.html
#![allow(clippy::vec_init_then_push)] // Only true if websockets is disabled

use std::time::Duration;

Expand Down

0 comments on commit 7a665c1

Please sign in to comment.