mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Rename from_unrooted to from_temporary. Fixes #2332.
This commit is contained in:
parent
0bb838a58b
commit
51ef2f06ba
5 changed files with 16 additions and 16 deletions
|
@ -5281,7 +5281,7 @@ class GlobalGenRoots():
|
|||
}
|
||||
|
||||
#[inline(always)]
|
||||
fn from_unrooted<T: ${fromBound}+Reflectable>(derived: Temporary<T>) -> Temporary<Self> {
|
||||
fn from_temporary<T: ${fromBound}+Reflectable>(derived: Temporary<T>) -> Temporary<Self> {
|
||||
unsafe { derived.transmute() }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue