bevy/crates/bevy_reflect/src/func
hshrimp 7ee5143d45
Remove Return::Unit variant (#15484)
# Objective

- Fixes #15447 

## Solution

- Remove the `Return::Unit` variant and use a `Return::Owned` variant
holding a unit `()` type.

## Migration Guide

- Removed the `Return::Unit` variant; use `Return::unit()` instead.

---------

Co-authored-by: Gino Valente <49806985+MrGVSV@users.noreply.github.com>
2024-09-28 16:26:55 +00:00
..
args Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
dynamic_function_mut.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
dynamic_function.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
error.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
function.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
info.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
into_function_mut.rs bevy_reflect: Function reflection terminology refactor (#14813) 2024-08-19 21:52:36 +00:00
into_function.rs bevy_reflect: Function reflection terminology refactor (#14813) 2024-08-19 21:52:36 +00:00
macros.rs bevy_reflect: Add DynamicClosure and DynamicClosureMut (#14141) 2024-07-16 03:22:43 +00:00
mod.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
reflect_fn_mut.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
reflect_fn.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
registry.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
return_type.rs Remove Return::Unit variant (#15484) 2024-09-28 16:26:55 +00:00