Skip to content

Commit

Permalink
Add a Copy impl in rsbegin.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
saethlin committed Jul 25, 2024
1 parent 923166b commit 7299205
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/rtstartup/rsbegin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ trait Copy {}
#[lang = "freeze"]
auto trait Freeze {}

impl<T: ?Sized> Copy for *mut T {}

#[lang = "drop_in_place"]
#[inline]
#[allow(unconditional_recursion)]
Expand Down

0 comments on commit 7299205

Please sign in to comment.