Compiler pissing me off

This commit is contained in:
red binder 2026-04-13 00:30:10 +02:00
commit 35ac0e9f46
2 changed files with 4 additions and 4 deletions

View file

@ -16,7 +16,7 @@ pub struct User {
}
impl DataStore for User {
async fn get_meta(&self, metaparam: GetMetaParam) -> Result<GetMetaInfo, rnex_core::rmc::response::ErrorCode> {
async fn get_meta(&self, metaparam: GetMetaParam) -> Result<GetMetaInfo, ErrorCode> {
// // bogus
// let info: GetMetaInfo = GetMetaInfo {
// dataid: 10,
@ -26,6 +26,6 @@ impl DataStore for User {
// }
// just trying to see what methods it tries to use
Err(rnex_core::rmc::response::ErrorCode::DataStore_NotFound)
Err(ErrorCode::DataStore_NotFound)
}
}