Skip to content

Miscellaneous cleanup#367

Merged
KodrAus merged 3 commits into
rust-lang:masterfrom
TethysSvensson:master
Dec 11, 2019
Merged

Miscellaneous cleanup#367
KodrAus merged 3 commits into
rust-lang:masterfrom
TethysSvensson:master

Conversation

@TethysSvensson
Copy link
Copy Markdown
Contributor

Since the minimum supported rustc version was bumped in #362, it is now possible to do some cleanup.

  • Get rid of a re-implementation of Box::leak. This reduces the number of unsafe blocks to 4.
  • Run cargo fix to add the dyn keyword to a lot of types.
  • Remove a few instances of the 'static lifetime in some static items.

Copy link
Copy Markdown
Contributor

@KodrAus KodrAus left a comment

Choose a reason for hiding this comment

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

Thanks for doing this @TethysSvensson!

This looks good to me.

@KodrAus KodrAus merged commit efcc39c into rust-lang:master Dec 11, 2019
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