Skip to content

Commit ac7e336

Browse files
authored
Fix lint warning (#141)
1 parent 41c89c1 commit ac7e336

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ impl From<ResponseHead> for PyResponseHead {
7171
}
7272
}
7373

74-
fn take_output_result_into_py(
75-
py: Python,
74+
fn take_output_result_into_py<'py>(
75+
py: Python<'py>,
7676
take_output_result: TakeOutputResult,
77-
) -> Bound<'_, PyAny> {
77+
) -> Bound<'py, PyAny> {
7878
match take_output_result {
7979
TakeOutputResult::Buffer(b) => PyBytes::new(py, &b).into_any(),
8080
TakeOutputResult::EOF => PyNone::get(py).to_owned().into_any(),
@@ -461,7 +461,7 @@ impl PyVM {
461461
fn sys_sleep(
462462
mut self_: PyRefMut<'_, Self>,
463463
millis: u64,
464-
name: Option<String>
464+
name: Option<String>,
465465
) -> Result<PyNotificationHandle, PyVMError> {
466466
let now = SystemTime::now()
467467
.duration_since(SystemTime::UNIX_EPOCH)

0 commit comments

Comments
 (0)