Skip to content

Conversation

@lorisleiva
Copy link
Member

@lorisleiva lorisleiva commented Oct 10, 2024

Currently, when generating Rust types that are not enums or structs, the semicolon at the end of the statement is missing. This PR fixes this.

// Before.
pub type MyShortVec = ShortVec<Pubkey>

// After.
pub type MyShortVec = ShortVec<Pubkey>;

@changeset-bot
Copy link

changeset-bot bot commented Oct 10, 2024

🦋 Changeset detected

Latest commit: bf3ec7f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@codama/renderers-rust Patch
@codama/renderers Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@lorisleiva lorisleiva requested a review from febo October 10, 2024 11:29
@lorisleiva lorisleiva merged commit 8dc7092 into main Oct 10, 2024
3 checks passed
@lorisleiva lorisleiva deleted the loris/rust-fix-missing-semicolon branch October 10, 2024 11:35
@github-actions github-actions bot mentioned this pull request Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants