Skip to content

Commit 7e7428b

Browse files
Auto-format: cargo fmt --all
1 parent ec9cc6d commit 7e7428b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/interpreter.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,11 @@ fn collect_stdlib_paths() -> Vec<String> {
246246

247247
// BUILDTIME_RUSTPYTHONPATH should be set when distributing
248248
if let Some(paths) = option_env!("BUILDTIME_RUSTPYTHONPATH") {
249-
additional_paths.extend(
250-
crate::settings::split_paths(paths)
251-
.map(|path| path.into_os_string().into_string()
252-
.unwrap_or_else(|_| panic!("BUILDTIME_RUSTPYTHONPATH isn't valid unicode"))),
253-
)
249+
additional_paths.extend(crate::settings::split_paths(paths).map(|path| {
250+
path.into_os_string()
251+
.into_string()
252+
.unwrap_or_else(|_| panic!("BUILDTIME_RUSTPYTHONPATH isn't valid unicode"))
253+
}))
254254
} else {
255255
#[cfg(feature = "rustpython-pylib")]
256256
additional_paths.push(rustpython_pylib::LIB_PATH.to_owned())

0 commit comments

Comments
 (0)