Rename from_unrooted to from_temporary. Fixes #2332.

This commit is contained in:
Glenn Watson 2014-05-07 09:25:32 +10:00
parent 0bb838a58b
commit 51ef2f06ba
5 changed files with 16 additions and 16 deletions

View file

@ -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() }
}
}