Fix fmt expr path generics

This commit is contained in:
2026-06-28 17:39:35 +02:00
parent 502bde1536
commit 3d30e0a092
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -106,7 +106,7 @@ impl GenMist for Postfix {
field, field,
generics generics
.iter() .iter()
.map(|v| format!("::{}", v.get_mist())) .map(|v| format!("{}", v.get_mist()))
.collect::<String>() .collect::<String>()
)); ));
} }
@@ -116,7 +116,7 @@ impl GenMist for Postfix {
field.get_mist(), field.get_mist(),
generics generics
.iter() .iter()
.map(|v| format!("::{}", v.get_mist())) .map(|v| format!("{}", v.get_mist()))
.collect::<String>() .collect::<String>()
)); ));
} }
+1 -1
View File
@@ -266,7 +266,7 @@ impl GetMist for ExprPathSegment {
self.ident.get_mist(), self.ident.get_mist(),
self.generics self.generics
.as_ref() .as_ref()
.map(|v| format!("::{}", v.get_mist())) .map(|v| format!("{}", v.get_mist()))
.unwrap_or_default() .unwrap_or_default()
) )
} }