From 7a665c189b3d92c3648d632124432bd176060d3d Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Tue, 12 Sep 2023 11:41:56 -0700 Subject: [PATCH] Ignoring warning in example This warning is only encountered when not all feature flags are specified. --- examples/basic-server/examples/custom-api.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/basic-server/examples/custom-api.rs b/examples/basic-server/examples/custom-api.rs index 8ff5a2b699..2f7c95673d 100644 --- a/examples/basic-server/examples/custom-api.rs +++ b/examples/basic-server/examples/custom-api.rs @@ -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;