mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 06:38:03 +08:00
Lower a creator's IList return to a level-pushing record
This commit is contained in:
@@ -154,7 +154,7 @@ fn element_of(ty: &Type, generics: &[Ident]) -> Element {
|
||||
}
|
||||
}
|
||||
|
||||
fn strip_ilist(ty: &Type) -> (Type, u8) {
|
||||
pub(crate) fn strip_ilist(ty: &Type) -> (Type, u8) {
|
||||
let mut element = ty.clone();
|
||||
let mut depth = 0;
|
||||
while let Some(inner) = ilist_inner(&element) {
|
||||
|
||||
Reference in New Issue
Block a user