Elide elidable lifetime parameters.

This commit is contained in:
Dan Gohman
2017-11-06 11:09:56 -08:00
parent 8501cb798e
commit d9743290ea
2 changed files with 4 additions and 4 deletions

View File

@@ -289,13 +289,13 @@ impl VariableArgs {
impl Deref for VariableArgs {
type Target = [Value];
fn deref<'a>(&'a self) -> &'a [Value] {
fn deref(&self) -> &[Value] {
&self.0
}
}
impl DerefMut for VariableArgs {
fn deref_mut<'a>(&'a mut self) -> &'a mut [Value] {
fn deref_mut(&mut self) -> &mut [Value] {
&mut self.0
}
}