adjust visibility of inner response
This commit is contained in:
parent
eeba5647f9
commit
f1d8ddc9b8
5 changed files with 11 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "torn-api-macros"
|
||||
version = "0.3.0"
|
||||
version = "0.3.1"
|
||||
edition = "2021"
|
||||
authors = ["Pyrit [2111649]"]
|
||||
license = "MIT"
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ fn impl_api_category(ast: &syn::DeriveInput) -> TokenStream {
|
|||
);
|
||||
|
||||
let gen = quote! {
|
||||
pub struct Response(crate::ApiResponse);
|
||||
pub struct Response(pub crate::ApiResponse);
|
||||
|
||||
impl Response {
|
||||
#(#accessors)*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue