chore(wire): drop stale dead_code allow on add_to_createapp_modules
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
1 file changed
-3
@@ -179,9 +179,6 @@ pub fn add_to_module_array(src: &str, key: &str, symbol: &str) -> Option<String>
|
|||||||
/// call's argument object (creating the `modules` key if absent). Idempotent;
|
/// call's argument object (creating the `modules` key if absent). Idempotent;
|
||||||
/// reverts (returns `None`) on parse breakage or when no `createApp(...)` call
|
/// reverts (returns `None`) on parse breakage or when no `createApp(...)` call
|
||||||
/// with an object argument is found.
|
/// with an object argument is found.
|
||||||
// Not yet called outside this module's tests — the `matcha create module`
|
|
||||||
// generator that wires it in lands in the next task.
|
|
||||||
#[allow(dead_code)]
|
|
||||||
pub fn add_to_createapp_modules(src: &str, symbol: &str) -> Option<String> {
|
pub fn add_to_createapp_modules(src: &str, symbol: &str) -> Option<String> {
|
||||||
let tree = parser().parse(src, None).unwrap();
|
let tree = parser().parse(src, None).unwrap();
|
||||||
let root = tree.root_node();
|
let root = tree.root_node();
|
||||||
|
|||||||
Reference in new issue
Block a user