Skip to content

Commit a1b6b09

Browse files
chore: max MaxEncodedLen derivation as automatically_derived (#703)
1 parent ff5a070 commit a1b6b09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

derive/src/max_encoded_len.rs

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ pub fn derive_max_encoded_len(input: proc_macro::TokenStream) -> proc_macro::Tok
5454

5555
quote::quote!(
5656
const _: () = {
57+
#[automatically_derived]
5758
impl #impl_generics #crate_path::MaxEncodedLen for #name #ty_generics #where_clause {
5859
fn max_encoded_len() -> ::core::primitive::usize {
5960
#data_expr

0 commit comments

Comments
 (0)