Remove return stmts in TransactionHandler fns
Removing the return and semicolon will make the code more rusty.
@@ -232,15 +232,15 @@ impl PikeTransactionHandler {
impl TransactionHandler for PikeTransactionHandler {
fn family_name(&self) -> String {
- return self.family_name.clone();
+ self.family_name.clone()
}
fn family_versions(&self) -> Vec<String> {
- return self.family_versions.clone();
+ self.family_versions.clone()
}
fn namespaces(&self) -> Vec<String> {
- return self.namespaces.clone();
+ self.namespaces.clone()
}
fn apply(
