Silence dead_code warning on AppBuilder::with_config
This function is not currently used but is likely to be useful in
the future, so this change silences the dead_code warning.
commit66238e855666f979306dc8698aeb0f35aaa84776
authorMichael Davis <mcarsondavis@gmail.com>
dateThu 20 Oct 2022, 14:27 (4 years ago)
parent313579d
helix-term/tests/test/helpers.rs+2
@@ -286,6 +286,8 @@ impl AppBuilder {
286286 self
287287 }
288288
289+ // Remove this attribute once `with_config` is used in a test:
290+ #[allow(dead_code)]
289291 pub fn with_config(mut self, config: Config) -> Self {
290292 self.config = config;
291293 self