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

little code cleanup #61

Merged
merged 2 commits into from Oct 13, 2019
Merged

Conversation

stuarth
Copy link
Contributor

@stuarth stuarth commented Oct 13, 2019

No description provided.

Copy link
Owner

@Rigellute Rigellute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks for this.

I am sure there's lots of places that could be cleaned up like this.

Some(o) => for_position(o as u32),
None => None,
};
let offset = offset.and_then(|o| for_position(o as u32));
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍

current_route.hovered_block = hovered;
}
(None, None) => {}
if let Some(active_block) = active_block {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Rigellute Rigellute merged commit 51bebc3 into Rigellute:master Oct 13, 2019
@Rigellute
Copy link
Owner

@all-contributors please add @stuarth for code

@allcontributors
Copy link
Contributor

@Rigellute

I've put up a pull request to add @stuarth! 🎉

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.

None yet

2 participants