Closed smoelius closed 1 year ago
Yes, we never supported methods but since it is a common use case I started looking into it. It's not just methods, I also want to implement support for const
and type
items inside impl
blocks.
I should be able to implement it when I have a few hours this week.
That would be great. Thank you. :pray:
Opened #169 to cover other similar intralink limitations cases.
Thanks very much for looking into this, @orium.
Implemented in c278f705d8c1ebaab7687db17cfd01af5883356c. Opened #170 to signal an annoying limitation.
Thank you very much, @orium. For my use case, this works perfectly.
An intralink test involving a method does not seem to work for me.
Glancing here, the
SymbolType
for a method would appear to beFn
: https://github.com/orium/cargo-rdme/blob/ca21a84ef9353f82767de8d1546200418a6c2ade/src/transform/intralinks/mod.rs#L261-L273But when I try that by modifying one of the crate's existing tests, the generated URL doesn't appear to have the proper form.
Am I correct to infer that intralinks for methods are not yet supported?