Whitespace only; the fork has no own rustfmt.toml so the Oak root policy applies.
8 lines
136 B
Rust
8 lines
136 B
Rust
pub const fn default_true() -> bool {
|
|
true
|
|
}
|
|
|
|
pub fn is_default<T: Default + PartialEq>(value: &T) -> bool {
|
|
*value == T::default()
|
|
}
|