Skip to content

server: avoid wrapping Arc in Box - #2471

Merged
marcus0x62 merged 1 commit into
mainfrom
arc-authorities
Sep 24, 2024
Merged

marcus0x62 merged 1 commit into
mainfrom
arc-authorities

Conversation

@djc

@djc djc commented Sep 21, 2024

Copy link
Copy Markdown
Member

Noticed this pre-existing issue while reviewing #2161. There doesn't seem to be a need to wrap Arc in Box, since the former already includes a heap allocation and can support trait objects directly.

@marcus0x62 marcus0x62 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a good change to me.

@marcus0x62
marcus0x62 added this pull request to the merge queue Sep 24, 2024
Merged via the queue into main with commit 2f6c1f1 Sep 24, 2024
@marcus0x62
marcus0x62 deleted the arc-authorities branch September 24, 2024 14:14
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.

2 participants