Fix doctests and macros after crate rename

This commit is contained in:
2024-11-05 21:52:58 +01:00
parent fe233f9fca
commit 7ac8b7c19d
5 changed files with 7 additions and 7 deletions

View File

@@ -105,7 +105,7 @@ fn parse_transparent_enum(mut e: syn::ItemEnum) -> (Translator, syn::Item) {
}
pub(crate) fn transform(attr: TokenStream, item: TokenStream) -> TokenStream {
let root = quote! {::aws};
let root = quote! {::aws_lib};
let expr: syn::Expr = syn::parse(attr).expect("expected expr in macro attribute");

View File

@@ -152,7 +152,7 @@ fn parse_struct(input: syn::ItemStruct) -> Input {
}
fn build_output(input: Input) -> TokenStream {
let root = quote! { ::aws };
let root = quote! { ::aws_lib };
let ident = input.ident;
let vis = input.vis;