Readability changes.

This commit is contained in:
Jeff Baskin 2022-07-23 21:50:37 -04:00
parent a58dd43a2b
commit 108da0267b
1 changed files with 4 additions and 1 deletions

View File

@ -41,7 +41,10 @@ impl Generic {
}
}
fn add_source<E: Into<MTTError>>(&mut self, source: E) {
fn add_source<E>(&mut self, source: E)
where
E: Into<MTTError>,
{
self.source = Some(Arc::new(source.into()));
}
}