Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CommandResult currently hardcodes to returning a Result with type (). Doing this limits the usability of CommandResult since users can't use this type alias with functions that return Results that don't use type (). Since Rust has type defaults, abstract CommandResult to accept type T with a default type of () which doesn't compromise the existing usage of CommandResult, but adds onto it. Signed-off-by: kingbri <bdashore3@gmail.com>
- Loading branch information