You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-15 22:00:26 +02:00
Remove lifetime trait bound on ProtoMessage (#2187)
The lifetime trait bound is unncessary, and the code compiles without it.
This commit is contained in:
@ -43,7 +43,7 @@ struct Field<'a> {
|
||||
value: FieldValue<'a>,
|
||||
}
|
||||
|
||||
trait ProtoMessage<'a>: Default + 'a {
|
||||
trait ProtoMessage<'a>: Default {
|
||||
fn add_field(&mut self, field: Field<'a>);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user