Use Self.

This commit is contained in:
Dan Gohman
2017-10-03 12:54:35 -07:00
parent 97b877bb9c
commit db88701eaa

View File

@@ -45,8 +45,8 @@ impl RelocSink for StandaloneRelocSink {
} }
impl StandaloneRelocSink { impl StandaloneRelocSink {
fn new() -> StandaloneRelocSink { fn new() -> Self {
StandaloneRelocSink { Self {
ebbs: HashMap::new(), ebbs: HashMap::new(),
funcs: HashMap::new(), funcs: HashMap::new(),
jts: HashMap::new(), jts: HashMap::new(),