Skip to content

Commit f9a1803

Browse files
author
Phil Cummins
committed
remove unnecessary return
1 parent 0250b34 commit f9a1803

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/prelink.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub fn embedded_python_standard_library() -> Result<TempDir, io::Error> {
2323
.unpack(stdlib.path())
2424
.unwrap();
2525

26-
return Ok(stdlib);
26+
Ok(stdlib);
2727
}
2828

2929
pub fn embedded_helper_utils() -> Result<TempDir, io::Error> {
@@ -37,7 +37,7 @@ pub fn embedded_helper_utils() -> Result<TempDir, io::Error> {
3737
.unpack(bundled.path())
3838
.unwrap();
3939

40-
return Ok(bundled);
40+
Ok(bundled);
4141
}
4242

4343
pub fn bundle_libraries(
@@ -136,5 +136,5 @@ pub fn bundle_libraries(
136136
}
137137
}
138138

139-
return Ok(libraries);
139+
Ok(libraries);
140140
}

0 commit comments

Comments
 (0)