Use Self instead of repeating the type name.
This commit is contained in:
@@ -64,8 +64,8 @@ pub struct SideEffects {
|
||||
}
|
||||
|
||||
impl SideEffects {
|
||||
fn new() -> SideEffects {
|
||||
SideEffects {
|
||||
fn new() -> Self {
|
||||
Self {
|
||||
split_ebbs_created: Vec::new(),
|
||||
instructions_added_to_ebbs: Vec::new(),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user