on master help sign in
Silence dead_code warning on AppBuilder::with_config
66238e8Michael Davis
helix-term/tests/test/helpers.rs+2
@@ -286,6 +286,8 @@ impl AppBuilder {
286 self
286 self
287 }
287 }
288
288
289+ // Remove this attribute once `with_config` is used in a test:
290+ #[allow(dead_code)]
289 pub fn with_config(mut self, config: Config) -> Self {
291 pub fn with_config(mut self, config: Config) -> Self {
290 self.config = config;
292 self.config = config;
291 self
293 self