Skip to content

Commit 004ab67

Browse files
committed
reexport cluster for backward compability
1 parent a90c918 commit 004ab67

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/generate/peripheral.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,12 @@ fn cluster_block(
906906

907907
let name_snake_case = mod_name.to_snake_case_ident(Span::call_site());
908908

909+
let struct_path = name_to_ty(&mod_name)?;
910+
909911
Ok(quote! {
912+
#[doc = #description]
913+
pub use #struct_path;
914+
910915
///Cluster
911916
#[doc = #description]
912917
pub mod #name_snake_case {

0 commit comments

Comments
 (0)