-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nexus: reduce unnecessary clones (#679)
analyzer: 1. (&String).into() clones string, can move intermediate string instead 2. No need to clone with_options, instead pass &[SqlOption], then use borrowing for opts, only creating strings for values when constructing configs with no need to remove keys for ownership anymore catalog: clean up option logic, context error wasn't used since it's immediately followed by unwrap_or_default
- Loading branch information
Showing
3 changed files
with
57 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters