mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
Replaced Result<T, GDError> with GDResult<T>
This commit is contained in:
parent
526aef9acc
commit
15e6ad5892
6 changed files with 25 additions and 25 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue