Skip to content

Commit

Permalink
fix(hydro_cli): clippy warning on multiline string
Browse files Browse the repository at this point in the history
  • Loading branch information
MingweiSamuel committed Sep 29, 2023
1 parent 9646ca0 commit 4153e9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hydro_cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ pub fn _core(py: Python<'_>, module: &PyModule) -> PyResult<()> {
.set(
PyModule::from_code(
py,
r#"
"
import asyncio
async def coroutine_to_safely_cancellable(c, cancel_token):
try:
Expand All @@ -791,7 +791,7 @@ async def coroutine_to_safely_cancellable(c, cancel_token):
cancel_token.safe_cancel()
await c
raise asyncio.CancelledError()
"#,
",
"converters",
"converters",
)?
Expand Down

0 comments on commit 4153e9c

Please sign in to comment.