add pub use rbatis_core to rbatis::core
@@ -16,7 +16,7 @@ pub(crate) fn find_return_type(target_fn: &ItemFn) -> proc_macro2::TokenStream {
_ => {}
}
let s = format!("{}", return_ty);
- if !s.starts_with("rbatis::core :: Result") && !s.starts_with("Result") && !s.starts_with("std :: result :: Result") {
+ if !s.starts_with("rbatis_core :: Result") && !s.starts_with("rbatis::core :: Result") && !s.starts_with("Result") && !s.starts_with("std :: result :: Result") {
return_ty = quote! {
rbatis::core :: Result <#return_ty>
};
