mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-05-20 16:49:31 +00:00
comment on ds addr
This commit is contained in:
parent
27adbeb77e
commit
1e2ea79369
@ -62,8 +62,8 @@ proc new*[T](
|
|||||||
ds: Datastore,
|
ds: Datastore,
|
||||||
): ref TaskCtx[T] =
|
): ref TaskCtx[T] =
|
||||||
result = (ref TaskCtx[T])()
|
result = (ref TaskCtx[T])()
|
||||||
result.ds = unsafeAddr(ds) ##
|
result.ds = unsafeAddr(ds) ##\
|
||||||
## doing this appears to break. previously it was using `addr(ds)`
|
## doing this appears to break things. previously it was using `addr(ds)`
|
||||||
## and reverting to those lets the tests get further.
|
## and reverting to those lets the tests get further.
|
||||||
##
|
##
|
||||||
## however, that seems to mean that `addr(ds)` we're taking the
|
## however, that seems to mean that `addr(ds)` we're taking the
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user