about summary refs log tree commit diff stats
path: root/src/local/container.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-09-27 02:32:22 +0200
committerbptato <nincsnevem662@gmail.com>2023-09-27 02:32:22 +0200
commit285b6f32c28d1cda403ba33bfb2d22c34fab2a1e (patch)
tree0ec51fbd1afbf142503f960e7634404f2e467617 /src/local/container.nim
parent2d414c2b77acb8c276812d78ff814ccadc33691f (diff)
downloadchawan-285b6f32c28d1cda403ba33bfb2d22c34fab2a1e.tar.gz
interface clone: remove unused arg, document
Diffstat (limited to 'src/local/container.nim')
-rw-r--r--src/local/container.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local/container.nim b/src/local/container.nim
index 465d7b87..fb48e89e 100644
--- a/src/local/container.nim
+++ b/src/local/container.nim
@@ -1001,7 +1001,7 @@ proc setStream*(container: Container, stream: Stream) =
       stream.flush()
     container.load()
   else:
-    container.iface = container.iface.clone(stream)
+    container.iface = cloneInterface(stream)
     # Maybe we have to resume loading. Let's try.
     discard container.iface.load().then(proc(res: LoadResult) =
       container.onload(res))