Fix formatting.
This commit is contained in:
parent
57cfd6a354
commit
573bfe46dd
@ -101,7 +101,7 @@ impl FuncInfo {
|
|||||||
match typ {
|
match typ {
|
||||||
"" | "()" => "".into(),
|
"" | "()" => "".into(),
|
||||||
RHAI_RESULT_TYPE => RHAI_RESULT_TYPE_EXPAND.into(),
|
RHAI_RESULT_TYPE => RHAI_RESULT_TYPE_EXPAND.into(),
|
||||||
ty if ty.starts_with(RHAI_RESULT_OF_TYPE) && ty.ends_with(">") => {
|
ty if ty.starts_with(RHAI_RESULT_OF_TYPE) && ty.ends_with('>') => {
|
||||||
RHAI_RESULT_OF_TYPE_EXPAND
|
RHAI_RESULT_OF_TYPE_EXPAND
|
||||||
.replace("{}", ty[RHAI_RESULT_OF_TYPE.len()..ty.len() - 1].trim())
|
.replace("{}", ty[RHAI_RESULT_OF_TYPE.len()..ty.len() - 1].trim())
|
||||||
.into()
|
.into()
|
||||||
|
Loading…
Reference in New Issue
Block a user