-
Notifications
You must be signed in to change notification settings - Fork 38
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
Clippy and format fixes #27
Conversation
length comparison to zero
manual implementation of an assign operation
Nice - I had been fixing these as well. If this is running in CI with the same clippy rules as Tide then it is still going to fail (once the feature flag is merged) with the following error:
Looks like it still needs that addressed with the following: @@ -85,11 +85,11 @@ impl Params {
pub fn find(&self, key: &str) -> Option<&str> {
self.map.get(key).map(|s| &s[..])
}
- pub fn iter<'a>(&'a self) -> Iter<'a> {
+ pub fn iter(& self) -> Iter<> {
Iter(self.map.iter())
}
}
impl<'a> Index<&'a str> for Params { |
thx gameldar. I fixed it by 418d003 |
Looks good to me now - I'd merged it if I could :) |
I think we should release a new patch version and merge this for the next minor version bump, I think the I'm planning on doing a release in a few hours to get the fix for compiling on current nightly out, then I could merge this. |
@k-nasa so that we can try and get this crate relicensed, can you make a statement like:
(I'll try and add something to the repo for future PRs soon, but want to wait and see if there's any movement on #19 first). |
Create LICENSE
Create LICENSE-MIT
@Nemo157 I added a lot. Is this all right? |
I think Nemo meant to add that text as a comment on Issue #19 saying that you are fine with changing the license to the dual license since you are committing under the old license. But what you have done does need doing - so we can still use that - we just need to still get approval for the change from Alex and Wycats |
Yeah, that's what I meant, but this works fine as well. I've merged the original clippy and format fixes in, and split the rest of the changes off to #32. |
Description
Clippy and format fixes.
How Has This Been Tested?
Run test code.
Types of changes
Checklist: