On Friday, 9 July 2021 at 21:13:02 UTC, rempas wrote:
``` Duration dur = end - start; dur = dur.total!"nsecs"; ```
What are you trying to do, assigning a nanosecond value to a Duration? The Duration already has that many nanoseconds in it.
and I get the following error message:"Error: cannot implicitly convert expression \`dur.total()\` of type \`long\` to \`Duration`"