-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make return type of TreeSink::elem_name
an associated type.
#553
Make return type of TreeSink::elem_name
an associated type.
#553
Conversation
An unrelated clippy lint was failing. I've added an allow, although it seems to be a private item so we could update the variant names. |
Hmm... I don't think this actually works with |
250c59f
to
da4e240
Compare
60db03f
to
c997ad8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a great improvement. Thanks!
c997ad8
to
70be6a5
Compare
Signed-off-by: Nico Burns <[email protected]>
Signed-off-by: Nico Burns <[email protected]>
This allows this type to be owned or contain data protected by a RefCell or Mutex. It can also simply be `ExpandedName` - the type which was previously the return type of `TreeSink::elem_name` Signed-off-by: Nico Burns <[email protected]>
70be6a5
to
b5d84aa
Compare
Fixes #552
This allows this type to be owned or contain data protected by a RefCell or Mutex. It can also simply be
ExpandedName
- the type which was previously the return type ofTreeSink::elem_name
.I have not yet had a chance to test this, but I believe this ought to fix my issue.