Replaced Result<T, GDError> with GDResult<T>

This commit is contained in:
CosminPerRam 2022-10-20 23:19:57 +03:00
parent 526aef9acc
commit 15e6ad5892
6 changed files with 25 additions and 25 deletions

View file

@ -1,6 +1,9 @@
use core::fmt;
use std::fmt::Formatter;
/// Result of Type and GDError.
pub type GDResult<T> = Result<T, GDError>;
/// GameDigError, every error you can encounter using the library.
#[derive(Debug, Clone)]
pub enum GDError {