Skip to content

Commit

Permalink
Fixed self
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-hughes committed Apr 18, 2024
1 parent 15b6f88 commit b7566a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/gc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ impl<T: ?Sized> Gc<T> {
/// Get a raw pointer to the underlying value `T`.
#[unstable(feature = "gc", issue = "none")]
pub fn into_raw(this: Self) -> *const T {
Self::as_ptr(&self)
Self::as_ptr(&this)
}

/// Get a raw pointer to the underlying value `T`.
Expand Down

0 comments on commit b7566a0

Please sign in to comment.