1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vlib: improvements to the context module (#18318)

This commit is contained in:
Ulises Jeremias Cornejo Fandos
2023-06-04 13:12:52 -03:00
committed by GitHub
parent 0e106c9062
commit 02ea6028af
8 changed files with 77 additions and 69 deletions

View File

@@ -32,7 +32,7 @@ fn test_with_cancel() {
}
mut background := context.background()
mut ctx, cancel := context.with_cancel(mut &background)
mut ctx, cancel := context.with_cancel(mut background)
defer {
cancel()
}