More descriptive type var name for utility :: leak
This commit is contained in:
parent
32c1d2ab67
commit
eb8a054d5c
1 changed files with 1 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
|||
pub fn leak < 'l , T > ( inner : T ) -> & 'l T {
|
||||
pub fn leak < 'l , Type > ( inner : Type ) -> & 'l Type {
|
||||
Box :: leak ( Box :: new (inner) )
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue