Skip to content

The scope of the unsafe block can be appropriately reduced#518

Open
cactter wants to merge 1 commit into
servo:mainfrom
cactter:master
Open

The scope of the unsafe block can be appropriately reduced#518
cactter wants to merge 1 commit into
servo:mainfrom
cactter:master

Conversation

@cactter

@cactter cactter commented Jul 21, 2022

Copy link
Copy Markdown

No description provided.

@s3bk

s3bk commented Jul 23, 2022

Copy link
Copy Markdown
Collaborator

unsafe blocks encapsulate the code that needs to be correct to ensure soundness.
The value and type of vector are critical here, so reducing the block is (in my opinion) not correct.

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