Skip to content
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

Another refactoring in links.rs #1001

Merged
merged 2 commits into from
Aug 13, 2019

Conversation

carols10cents
Copy link
Member

In the same vein as #998, this is another refactoring that will also make the new feature for #618 easier.

I'm a little less sure about this refactoring, mostly because of the names I think. The code after this change feels more verbose as far as number of characters needed to type, but I do like how it has consolidated the concepts and functionality. Would love feedback!

@Dylan-DPC-zz Dylan-DPC-zz merged commit ce0c5f1 into rust-lang:master Aug 13, 2019
@carols10cents carols10cents deleted the another-refactoring branch August 13, 2019 23:57
Ruin0x11 pushed a commit to Ruin0x11/mdBook that referenced this pull request Aug 30, 2020
* Extract the concept of a link having a range or anchor specified

So that other kinds of links can use this concept too.

* Extract a function for parsing range or anchor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants