Actualiza formato del código aplicando cargo fmt

This commit is contained in:
Manuel Cillero 2022-07-20 00:01:01 +02:00
parent 4b5caf06a7
commit e6ea59785e
75 changed files with 1069 additions and 1160 deletions

View file

@ -2,13 +2,8 @@ mod context;
pub use context::{InContext, InContextOp};
mod definition;
pub use definition::{
AnyComponent,
ComponentTrait,
component_ref,
component_mut,
};
use definition::render_component;
pub use definition::{component_mut, component_ref, AnyComponent, ComponentTrait};
mod bundle;
pub use bundle::ComponentsBundle;
@ -19,6 +14,10 @@ pub(crate) use all::common_components;
pub type Renderable = fn(_: &InContext) -> bool;
pub fn render_always(_: &InContext) -> bool { true }
pub fn render_always(_: &InContext) -> bool {
true
}
pub fn render_never(_: &InContext) -> bool { false }
pub fn render_never(_: &InContext) -> bool {
false
}