Improve reify! syntax.
This commit is contained in:
@@ -183,7 +183,7 @@ impl Engine {
|
||||
.and_then(|result| {
|
||||
// Bail out early if the return type needs no cast
|
||||
if TypeId::of::<T>() == TypeId::of::<Dynamic>() {
|
||||
return Ok(reify!(result => T));
|
||||
return Ok(reify! { result => T });
|
||||
}
|
||||
|
||||
// Cast return type
|
||||
|
Reference in New Issue
Block a user