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