We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
as_ref()
clone()
1 parent 8f58888 commit 1afe480Copy full SHA for 1afe480
1 file changed
src/bin/tectonic/v2cli.rs
@@ -266,8 +266,7 @@ impl BuildCommand {
266
setup_options.only_cached(self.only_cached);
267
268
for output_name in doc.output_names() {
269
- // Added checking to see if the output name matches the specified target name
270
- if let Some(out) = self.target.clone() {
+ if let Some(out) = self.target.as_ref() {
271
if out != output_name {
272
continue;
273
}
0 commit comments