diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2023-01-27 10:43:16 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-27 10:43:16 -0500 |
| commit | f5840bdcd360ec0bac2501f333e58e25742b1537 (patch) | |
| tree | 7eb0818d2cafa0f6824e81b6ed2cfb609830971e /cli/tools/vendor/build.rs | |
| parent | 1a1faff2f67613ed0b89e1a34e6c3fd02ca6fd83 (diff) | |
chore: upgrade to Rust 1.67 (#17548)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/tools/vendor/build.rs')
| -rw-r--r-- | cli/tools/vendor/build.rs | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/cli/tools/vendor/build.rs b/cli/tools/vendor/build.rs index 830cb39f7..f418670b3 100644 --- a/cli/tools/vendor/build.rs +++ b/cli/tools/vendor/build.rs @@ -204,19 +204,15 @@ fn build_proxy_module_source( // for simplicity, always include the `export *` statement as it won't error // even when the module does not contain a named export - writeln!(text, "export * from \"{}\";", relative_specifier).unwrap(); + writeln!(text, "export * from \"{relative_specifier}\";").unwrap(); // add a default export if one exists in the module if let Some(parsed_source) = parsed_source_cache.get_parsed_source_from_module(module)? { if has_default_export(&parsed_source) { - writeln!( - text, - "export {{ default }} from \"{}\";", - relative_specifier - ) - .unwrap(); + writeln!(text, "export {{ default }} from \"{relative_specifier}\";") + .unwrap(); } } |
