Skip to content

Rustup #153

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

Merged
merged 2 commits into from
Nov 27, 2014
Merged

Rustup #153

merged 2 commits into from
Nov 27, 2014

Conversation

seanmonstar
Copy link
Member

Closes #150
Closes #151
Closes #152

seanmonstar added a commit that referenced this pull request Nov 27, 2014
@seanmonstar seanmonstar merged commit 00a1452 into master Nov 27, 2014
@seanmonstar seanmonstar deleted the rustup branch November 27, 2014 20:19
#[deriving(Clone)]
struct CaseInsensitive<S: Str>(S);
//#[deriving(Clone)]
struct CaseInsensitive(SendStr);
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a good simplification. Using IntoCow here in the relevant places is much better.

Copy link
Member Author

Choose a reason for hiding this comment

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

Actually it was only because Cow doesn't yet implement Clone. I've been meaning to pull this into a new crate, and when I do, I'll add the generics back in.

Copy link
Contributor

Choose a reason for hiding this comment

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

In a separate crate it the generic makes a lot of sense.

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.

3 participants