diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2022-03-14 23:38:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 23:38:53 +0100 |
commit | 88d0f01948b68f4a4d87e02a5138e94ac0a6eaea (patch) | |
tree | 2b50e5d2c6990c94f47e604281f3557b3efd9736 /cli/ops/errors.rs | |
parent | 9f494dc405afc4b1b29fa4c813bd5751f26aaa36 (diff) |
feat(ops): custom arity (#13949)
Also cleanup & drop ignored wildcard op-args
Diffstat (limited to 'cli/ops/errors.rs')
-rw-r--r-- | cli/ops/errors.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cli/ops/errors.rs b/cli/ops/errors.rs index c215ade41..5be6e0737 100644 --- a/cli/ops/errors.rs +++ b/cli/ops/errors.rs @@ -46,7 +46,6 @@ struct AppliedSourceMap { fn op_apply_source_map( state: &mut OpState, args: ApplySourceMap, - _: (), ) -> Result<AppliedSourceMap, AnyError> { let mut mappings_map: CachedMaps = HashMap::new(); let ps = state.borrow::<ProcState>().clone(); @@ -71,7 +70,6 @@ fn op_apply_source_map( fn op_format_diagnostic( _state: &mut OpState, args: Value, - _: (), ) -> Result<Value, AnyError> { let diagnostic: Diagnostics = serde_json::from_value(args)?; Ok(json!(diagnostic.to_string())) @@ -81,7 +79,6 @@ fn op_format_diagnostic( fn op_format_file_name( _state: &mut OpState, file_name: String, - _: (), ) -> Result<String, AnyError> { Ok(format_file_name(&file_name)) } |