chore: some clippy warnings
This commit is contained in:
parent
cdf8bd6548
commit
cf6d04e95b
|
@ -1675,7 +1675,7 @@ pub fn check_replaceable_opaque_type(
|
|||
pub fn replace_opaque_type(t: &mut Arc<Type>, data_types: &IndexMap<DataTypeKey, &TypedDataType>) {
|
||||
if check_replaceable_opaque_type(t, data_types) && matches!(&**t, Type::App { .. }) {
|
||||
let data_type = lookup_data_type_by_tipo(data_types, t).unwrap();
|
||||
let new_type_fields = data_type.typed_parameters.clone();
|
||||
let new_type_fields = data_type.typed_parameters;
|
||||
|
||||
let mut mono_types: IndexMap<u64, Arc<Type>> = IndexMap::new();
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
///! Type inference and checking of patterns used in case expressions
|
||||
///! and variables bindings.
|
||||
//! Type inference and checking of patterns used in case expressions
|
||||
//! and variables bindings.
|
||||
use std::{
|
||||
collections::{HashMap, HashSet},
|
||||
ops::Deref,
|
||||
|
|
|
@ -184,7 +184,7 @@ mod test {
|
|||
use std::collections::HashMap;
|
||||
|
||||
use aiken_lang::{self, builtins};
|
||||
use uplc::ast::{self as uplc_ast};
|
||||
use uplc::ast as uplc_ast;
|
||||
|
||||
use crate::tests::TestProject;
|
||||
|
||||
|
|
Loading…
Reference in New Issue