spru-bevy 0.1.0

bevy plugins for the spru strategy and digital board game framework.
Documentation
1
2
3
4
5
6
7
use bevy::prelude;

pub fn map_err<E: std::error::Error + Send + Sync + 'static>(
    prelude::In(result): prelude::In<Result<(), E>>,
) -> prelude::Result {
    result.map_err(Into::into)
}