Replies: 1 comment
-
Fixed. I remove the lifetime's from ux-dataflow. You need update ux-charts to 0.1.3 and ux-dataflow to 0.1.2. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm attempting to create the metadata (i.e. collection of
Channel
s) where the Channel name is populated from a database lookup. Here's the code sample:However, the compiler doesn't like that due to
cdata
being a temporary value.Since
Channel.name
is a&str
, I don't know how to get around this problem.I understand this is likely to be a generic Rust question but I thought I'd ask here first in case it is an artefact of the
Channel
design.Any suggestions would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions