diff options
author | Michael Davis | 2022-10-20 19:27:29 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-10-20 23:43:15 +0000 |
commit | 66238e855666f979306dc8698aeb0f35aaa84776 (patch) | |
tree | 7b783b5041ecd0f529ee42cd3f431bcf05c790c4 | |
parent | 313579d27ce6ad55b5c2410856e6aa62a7778320 (diff) |
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.
-rw-r--r-- | helix-term/tests/test/helpers.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-term/tests/test/helpers.rs b/helix-term/tests/test/helpers.rs index e8bd6c35..2c5043d6 100644 --- a/helix-term/tests/test/helpers.rs +++ b/helix-term/tests/test/helpers.rs @@ -286,6 +286,8 @@ impl AppBuilder { self } + // Remove this attribute once `with_config` is used in a test: + #[allow(dead_code)] pub fn with_config(mut self, config: Config) -> Self { self.config = config; self |