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 {
fn new() -> StandaloneRelocSink {
StandaloneRelocSink {
fn new() -> Self {
Self {
ebbs: HashMap::new(),
funcs: HashMap::new(),
jts: HashMap::new(),