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

Remove rustpkg. #11987

Merged
merged 1 commit into from
Feb 2, 2014
Merged

Remove rustpkg. #11987

merged 1 commit into from
Feb 2, 2014

Conversation

emberian
Copy link
Member

@emberian emberian commented Feb 2, 2014

I'm sorry :'(

Closes #11859

I'm sorry :'(

Closes #11859
@emberian
Copy link
Member Author

emberian commented Feb 2, 2014

Assuming this is non-controversial at this point (at least among Those Who Review)

bors added a commit that referenced this pull request Feb 2, 2014
@bors bors closed this Feb 2, 2014
@bors bors merged commit 25fe2ca into rust-lang:master Feb 2, 2014
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 11, 2024
…plitting-at-newlines, r=Jarcho

Issue 8733: Suggest `str.lines` when splitting at hard-coded newlines

Fixes rust-lang#8733.
```
changelog: [`splitting_strings_at_newlines`]: New lint that suggests `str.lines` over splitting at hard-coded newlines
```

This is my first PR to Clippy and one of my first Rust PRs in general -- please feel free to nitpick, I'm thankful for any opportunity to learn! I'd be especially interested in feedback to the following points:

* Is checking for `'\n'`, `"\n"`, and `"\r\n"` as arguments to `split` enough, or should we do more (e.g. checking for constants that have those values if that is possible)?
* Could the code be written in a more idiomatic way?
* Is the default `".."` for `snippet` a good choice? I copied it from other uses of `snippet` in the code base, but I'm not entirely sure.
* Is the category `suspicious` a good choice?
* Is the suggestion applicability `MaybeIncorrect` a good choice? I used it because the return type of `lines` is not exactly the same as that of `split`.
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.

Remove rustpkg
2 participants