]> git.lizzy.rs Git - rust.git/log
rust.git
3 years agoAuto merge of #6856 - Jarcho:manual_map_if_let, r=Manishearth
bors [Wed, 17 Mar 2021 17:47:59 +0000 (17:47 +0000)]
Auto merge of #6856 - Jarcho:manual_map_if_let, r=Manishearth

Fix `manual_map` suggestion for `if let.. else ... if let.. else` chain

fixes: #6847

changelog: Fix `manual_map` suggestion for `if let.. else ... if let.. else` chain

3 years agoFix `manual_map` suggestion for `if let.. else ... if let.. else` chain
Jason Newcomb [Fri, 5 Mar 2021 20:57:37 +0000 (15:57 -0500)]
Fix `manual_map` suggestion for `if let.. else ... if let.. else` chain

3 years agoAuto merge of #6918 - camsteffen:utils-re-export, r=flip1995
bors [Wed, 17 Mar 2021 14:42:46 +0000 (14:42 +0000)]
Auto merge of #6918 - camsteffen:utils-re-export, r=flip1995

Don't re-export `clippy_utils::*`

changelog: none

This should wrap up the utils-related really big changes. I personally don't see any more sub-modules to be added to `clippy_utils`.

3 years agoAdd clippy_utils::paths imports
Cameron Steffen [Wed, 17 Mar 2021 14:31:20 +0000 (09:31 -0500)]
Add clippy_utils::paths imports

3 years agoDon't re-export clippy_utils::*
Cameron Steffen [Tue, 16 Mar 2021 16:06:34 +0000 (11:06 -0500)]
Don't re-export clippy_utils::*

3 years agoAuto merge of #6805 - matthiaskrgr:uca_nopub_6803, r=flip1995
bors [Wed, 17 Mar 2021 10:53:02 +0000 (10:53 +0000)]
Auto merge of #6805 - matthiaskrgr:uca_nopub_6803, r=flip1995

upper_case_acronyms: don't warn on public items

Fixes #6803

changelog: upper_case_acronyms: ignore public items

3 years agoAuto merge of #6821 - Jarcho:write_literal_suggestion, r=flip1995
bors [Wed, 17 Mar 2021 09:49:20 +0000 (09:49 +0000)]
Auto merge of #6821 - Jarcho:write_literal_suggestion, r=flip1995

Write literal suggestion

fixes: #6768

changelog: Add suggestion to `write_literal` and `print_literal` lints
changelog: Change `use_debug` to point only at the format string

3 years agoAuto merge of #6888 - matthiaskrgr:rip_ra_setup, r=flip1995
bors [Wed, 17 Mar 2021 09:24:54 +0000 (09:24 +0000)]
Auto merge of #6888 - matthiaskrgr:rip_ra_setup, r=flip1995

docs: update RA setup documentation

Add documentation how to get rust-analyzer to like clippys `extern crate` rustc deps.

Fixes #6883

This initially removed `cargo-dev ra_setup` but it is still needed by folks who use intellij rust, so keeping that.

changelog: none

3 years agoRename the last ra_setup mention to ide_setup
Philipp Krones [Wed, 17 Mar 2021 09:24:27 +0000 (10:24 +0100)]
Rename the last ra_setup mention to ide_setup

3 years agorename `cargo dev ra_setup` to `cargo dev ide_setup`
Matthias Krüger [Wed, 17 Mar 2021 09:12:20 +0000 (10:12 +0100)]
rename `cargo dev ra_setup` to `cargo dev ide_setup`

3 years agoCONTRIBUTING: update section explaining how to get ra to work inside the clippy repo
Matthias Krüger [Fri, 12 Mar 2021 00:26:13 +0000 (01:26 +0100)]
CONTRIBUTING: update section explaining how to get ra to work inside the clippy repo

3 years agoAuto merge of #6917 - MysteryJump:fix-manual-unwrap-or-const-fn, r=giraffate
bors [Wed, 17 Mar 2021 04:34:15 +0000 (04:34 +0000)]
Auto merge of #6917 - MysteryJump:fix-manual-unwrap-or-const-fn, r=giraffate

Fix false-positive `manual_unwrap_or` inside const fn

Fixes #6898

changelog:  Fix false-positive for manual_unwrap_or in const fn.

3 years agoRemove SmallVec
Jason Newcomb [Tue, 16 Mar 2021 16:06:41 +0000 (12:06 -0400)]
Remove SmallVec

3 years agoAdd suggestion to `write_literal` and `print_literal`
Jason Newcomb [Mon, 1 Mar 2021 21:31:04 +0000 (16:31 -0500)]
Add suggestion to `write_literal` and `print_literal`
Don't lint on a mixture of raw and regular strings
Fix spans in format strings

3 years agoMore specific spans for `use_debug` lint
Jason Newcomb [Mon, 1 Mar 2021 18:28:36 +0000 (13:28 -0500)]
More specific spans for `use_debug` lint

3 years agoKeep track of spans in format strings
Jason Newcomb [Mon, 1 Mar 2021 18:14:52 +0000 (13:14 -0500)]
Keep track of spans in format strings

3 years agoUse in_constant instead of is_const
Yukio Tanaka [Tue, 16 Mar 2021 15:06:42 +0000 (00:06 +0900)]
Use in_constant instead of is_const

3 years agoAuto merge of #6912 - flip1995:dep-cleanup, r=Manishearth
bors [Tue, 16 Mar 2021 13:56:13 +0000 (13:56 +0000)]
Auto merge of #6912 - flip1995:dep-cleanup, r=Manishearth

Get rid of some unused dependecies

changelog: none

3 years agoGet rid of some unused dependecies
flip1995 [Mon, 15 Mar 2021 18:20:01 +0000 (19:20 +0100)]
Get rid of some unused dependecies

3 years agoFix typo
Yukio Tanaka [Tue, 16 Mar 2021 10:56:47 +0000 (19:56 +0900)]
Fix typo

3 years agoFix FP of `manual_unwrap_or` in const fn
Yukio Tanaka [Tue, 16 Mar 2021 10:46:40 +0000 (19:46 +0900)]
Fix FP of `manual_unwrap_or` in const fn

3 years agoAuto merge of #6915 - smoelius:docs-link, r=llogiq
bors [Tue, 16 Mar 2021 07:08:48 +0000 (07:08 +0000)]
Auto merge of #6915 - smoelius:docs-link, r=llogiq

Do not show docs link when lint doesn't start with "clippy::"

This small change ensures that if the diagnostic functions are called from outside of Clippy, a docs link is not displayed.

---

*Please write a short comment explaining your change (or "none" for internal only changes)*
changelog: restrict docs links

3 years agoAuto merge of #6889 - Y-Nak:refactor-unit-types, r=flip1995
bors [Tue, 16 Mar 2021 02:57:33 +0000 (02:57 +0000)]
Auto merge of #6889 - Y-Nak:refactor-unit-types, r=flip1995

Refactor unit types

Ref:  #6724
r? `@flip1995`

Changes:
1. Extract `unit_types` from `types` group.
2. Move lints of `unit_types` to their own modules.

Notes:
Other lints of `unit_types` is still scattered around the `clippy_lints`, e.g. `result_unit_err` or `option_map_unit_fn`.
These should be addressed in another PR.

changelog: none

3 years agoRemove unit_types::utils::is_unit
Yoshitomo Nakanishi [Tue, 16 Mar 2021 01:37:05 +0000 (10:37 +0900)]
Remove unit_types::utils::is_unit

3 years agoMove unit_arg to its own module
Yoshitomo Nakanishi [Fri, 12 Mar 2021 03:47:21 +0000 (12:47 +0900)]
Move unit_arg to its own module

3 years agoMove unit_cmp to its own module
Yoshitomo Nakanishi [Fri, 12 Mar 2021 03:38:31 +0000 (12:38 +0900)]
Move unit_cmp to its own module

3 years agoMove let_unit_value to its own module
Yoshitomo Nakanishi [Fri, 12 Mar 2021 03:28:31 +0000 (12:28 +0900)]
Move let_unit_value to its own module

3 years agoExtract utility functions to utils.rs
Yoshitomo Nakanishi [Fri, 12 Mar 2021 03:15:45 +0000 (12:15 +0900)]
Extract utility functions to utils.rs

3 years agoExtract lints of unit_types group from types group
Yoshitomo Nakanishi [Fri, 12 Mar 2021 03:04:44 +0000 (12:04 +0900)]
Extract lints of unit_types group from types group

3 years agoAuto merge of #6916 - camsteffen:diagnostics-util, r=Manishearth
bors [Tue, 16 Mar 2021 02:09:43 +0000 (02:09 +0000)]
Auto merge of #6916 - camsteffen:diagnostics-util, r=Manishearth

Don't re-export `clippy_utils::diagnostics::*`

changelog: none

Continues #6907

3 years agoDon't re-export clippy_utils::diagnostics::*
Cameron Steffen [Tue, 16 Mar 2021 00:55:45 +0000 (19:55 -0500)]
Don't re-export clippy_utils::diagnostics::*

3 years agoAuto merge of #6914 - camsteffen:source-utils, r=Manishearth
bors [Tue, 16 Mar 2021 00:08:01 +0000 (00:08 +0000)]
Auto merge of #6914 - camsteffen:source-utils, r=Manishearth

Move some utils to `clippy_utils::source`

changelog: none

Continues #6907

3 years agoAuto merge of #6828 - mgacek8:issue_6758_enhance_wrong_self_convention, r=flip1995
bors [Mon, 15 Mar 2021 22:36:57 +0000 (22:36 +0000)]
Auto merge of #6828 - mgacek8:issue_6758_enhance_wrong_self_convention, r=flip1995

wrong_self_convention: fix lint in case of `to_*_mut` method

fixes #6758
changelog: wrong_self_convention: fix lint in case of `to_*_mut` method. When a method starts with `to_` and ends with `_mut`, clippy expects a `&mut self` parameter, otherwise `&self`.

Any feedback is welcome. I was also thinking if shouldn't we treat `to_` the same way as `as_`. Namely to accept `self` taken:  `&self` or `&mut self`.

3 years agoAuto merge of #6907 - camsteffen:ty-utils, r=flip1995
bors [Mon, 15 Mar 2021 22:13:45 +0000 (22:13 +0000)]
Auto merge of #6907 - camsteffen:ty-utils, r=flip1995

Move some utils to `clippy_utils::ty`

changelog: none

`clippy_utils::*` has become a giant junk drawer. This is one step to clean it up a bit. One motivation is that I believe the long import statements cause more merge conflicts.

3 years agoMove some utils to clippy_utils::source module
Cameron Steffen [Sun, 14 Mar 2021 23:17:44 +0000 (18:17 -0500)]
Move some utils to clippy_utils::source module

3 years agoMove some utils to ty_utils
Cameron Steffen [Sat, 13 Mar 2021 23:01:03 +0000 (17:01 -0600)]
Move some utils to ty_utils

3 years agoAuto merge of #6831 - camsteffen:suspicious-map, r=Y-Nak,flip1995
bors [Mon, 15 Mar 2021 15:56:56 +0000 (15:56 +0000)]
Auto merge of #6831 - camsteffen:suspicious-map, r=Y-Nak,flip1995

Fix suspicious_map false positives

changelog: Fix suspicious_map false positives

Fixes #5253
Replaces #5375

3 years agoImprove `find_binding_init` docs
Cameron Steffen [Mon, 15 Mar 2021 13:51:23 +0000 (08:51 -0500)]
Improve `find_binding_init` docs

3 years agoDo not show docs link when lint doesn't start with "clippy::"
Samuel E. Moelius III [Mon, 15 Mar 2021 09:40:21 +0000 (05:40 -0400)]
Do not show docs link when lint doesn't start with "clippy::"

3 years agoFix suspicious_map false positives
Ben Boeckel [Thu, 26 Mar 2020 01:13:24 +0000 (21:13 -0400)]
Fix suspicious_map false positives

3 years agoAuto merge of #6895 - iobtl:reformat_unnecessary_cast, r=llogiq
bors [Sun, 14 Mar 2021 15:01:01 +0000 (15:01 +0000)]
Auto merge of #6895 - iobtl:reformat_unnecessary_cast, r=llogiq

replace span_lint with span_lint_and_sugg along with error message

fixes: #6874
changelog: none

apologies if this may not be the most idiomatic way of doing it, any advice on changes (if any) would be greatly appreciated.

3 years agouse lint_unnecessary_cast for literals, suggest `_` if not present
iobtl [Sun, 14 Mar 2021 00:09:08 +0000 (08:09 +0800)]
use lint_unnecessary_cast for literals, suggest `_` if not present

3 years agoAuto merge of #6859 - magurotuna:if_then_some_else_none, r=giraffate
bors [Sat, 13 Mar 2021 15:54:54 +0000 (15:54 +0000)]
Auto merge of #6859 - magurotuna:if_then_some_else_none, r=giraffate

Implement new lint: if_then_some_else_none

Resolves #6760

changelog: Added a new lint: `if_then_some_else_none`

3 years agoAuto merge of #6820 - mgacek8:issue_6562_enhance_mem_replace_with_default_with_other_...
bors [Sat, 13 Mar 2021 15:43:00 +0000 (15:43 +0000)]
Auto merge of #6820 - mgacek8:issue_6562_enhance_mem_replace_with_default_with_other_ctors, r=phansch

mem_replace_with_default: recognize some std library ctors

fixes #6562
changelog: mem_replace_with_default: recognize some common constructors equivalent to `Default::default()`

3 years agoAuto merge of #6865 - Jarcho:explicit_deref_methods, r=llogiq
bors [Sat, 13 Mar 2021 15:31:14 +0000 (15:31 +0000)]
Auto merge of #6865 - Jarcho:explicit_deref_methods, r=llogiq

`explicit_deref_methods` improvements

Breaking up #6837

changelog: `explicit_deref_methods` will lint chained `deref` calls and ufcs style calls

3 years agoProperly lint macro arguments for `explicit_deref_methods`
Jason Newcomb [Sat, 13 Mar 2021 13:27:42 +0000 (08:27 -0500)]
Properly lint macro arguments for `explicit_deref_methods`

3 years agoKeep track of whether `deref` or `deref_mut` was called
Jason Newcomb [Sat, 13 Mar 2021 01:13:45 +0000 (20:13 -0500)]
Keep track of whether `deref` or `deref_mut` was called
Remove more unnecessary code

3 years agoRemove unneeded code.
Jason Newcomb [Tue, 9 Mar 2021 15:37:15 +0000 (10:37 -0500)]
Remove unneeded code.

3 years agoMake `explicit_deref_methods` check for multiple deref calls
Jason Newcomb [Tue, 2 Mar 2021 18:32:56 +0000 (13:32 -0500)]
Make `explicit_deref_methods` check for multiple deref calls
Fix suggestion for `explicit_deref_methods`. Sometimes `&**` is needed, sometimes nothing is needed.
Allow `explicit_deref_methods` to trigger in a few new contexts.
`explicit_deref_methods` will now consider ufcs calls

3 years agoreplace span_lint with span_lint_and_sugg along with error message
iobtl [Sat, 13 Mar 2021 08:54:59 +0000 (16:54 +0800)]
replace span_lint with span_lint_and_sugg along with error message

3 years agoAuto merge of #6892 - matthiaskrgr:inc_struct_ctor, r=Y-Nak
bors [Sat, 13 Mar 2021 04:52:40 +0000 (04:52 +0000)]
Auto merge of #6892 - matthiaskrgr:inc_struct_ctor, r=Y-Nak

inconsistent_struct_constructor: try to make message and lint description a bit clearer

changelog: inconsistent_struct_constructor: try to make message and lint description a bit clearer

r? `@ghost`

3 years agoAuto merge of #6891 - Y-Nak:use-iterator-sym, r=Manishearth
bors [Fri, 12 Mar 2021 22:36:49 +0000 (22:36 +0000)]
Auto merge of #6891 - Y-Nak:use-iterator-sym, r=Manishearth

Use sym::Iterator instead of paths::ITERATOR

Since `sym::Iterator` was added to diagnostic_item, it's time to remove `paths::ITERATOR`.
ref: #5393

changelog: Add `is_trait_method` to `clippy_utils`
changelog: Remove `paths::ITERATOR`

3 years agomem_replace_with_default: use diagnostic items intead of paths
Mateusz Gacek [Fri, 12 Mar 2021 20:00:08 +0000 (12:00 -0800)]
mem_replace_with_default: use diagnostic items intead of paths

3 years agomem_replace_with_default: recognize some std library ctors
Mateusz Gacek [Mon, 1 Mar 2021 15:49:52 +0000 (16:49 +0100)]
mem_replace_with_default: recognize some std library ctors

3 years agoinconsistent_struct_constructor: try to make message and lint description a bit clearer
Matthias Krüger [Fri, 12 Mar 2021 19:40:23 +0000 (20:40 +0100)]
inconsistent_struct_constructor: try to make message and lint description a bit clearer

3 years agoUse sym::Iterator instead of paths::ITERATOR
Yoshitomo Nakanishi [Fri, 12 Mar 2021 17:09:19 +0000 (02:09 +0900)]
Use sym::Iterator instead of paths::ITERATOR

3 years agoImprove suggestion and make it work for macros
Yusuke Tanaka [Fri, 12 Mar 2021 11:46:46 +0000 (20:46 +0900)]
Improve suggestion and make it work for macros

3 years agowrong_self_convention: fix lint in case of `to_*_mut` method
Mateusz Gacek [Fri, 12 Mar 2021 07:47:15 +0000 (23:47 -0800)]
wrong_self_convention: fix lint in case of `to_*_mut` method

When a method starts with `to_` and ends with `_mut`, it should expect a `&mut self` parameter,
otherwise `&self`.

3 years agoAuto merge of #6826 - TaKO8Ki:refactor-methods-mod, r=phansch
bors [Thu, 11 Mar 2021 19:54:48 +0000 (19:54 +0000)]
Auto merge of #6826 - TaKO8Ki:refactor-methods-mod, r=phansch

Refactor: arrange lints in `methods` module

This PR arranges methods lints so that they can be accessed more easily.
Basically, I refactored them following the instruction described in #6680.

changelog: Move lints in methods module into their own modules.

3 years agoAuto merge of #6884 - matthiaskrgr:lintcheck_crate, r=Manishearth
bors [Thu, 11 Mar 2021 16:10:33 +0000 (16:10 +0000)]
Auto merge of #6884 - matthiaskrgr:lintcheck_crate, r=Manishearth

move lintcheck into its own crate

This pr:
* moves lintcheck out of `clippy dev` and into its own crate (`lintcheck`)  (I should have done this earlier :D)
* makes lintcheck terminate if it is not launched from the repo root (to prevent problems with wrong paths when using `cargo run` in the crate root)
* fixes json lint messages leaking the runners `$HOME` when a lint messages comes from a proc macro that originates from a crate inside the `$CARGO_CACHE`
* adds more documentation to lintchecks `README.md` and mentions lintcheck in `docs/basics.md`

changelog: none

3 years agodoc line length fixes
Matthias Krüger [Thu, 11 Mar 2021 14:47:51 +0000 (15:47 +0100)]
doc line length fixes

3 years agodocs: basics.md: mention lintcheck
Matthias Krüger [Thu, 11 Mar 2021 14:37:10 +0000 (15:37 +0100)]
docs: basics.md: mention lintcheck

3 years agolintcheck: fix clippy warnings
Matthias Krüger [Thu, 11 Mar 2021 14:25:43 +0000 (15:25 +0100)]
lintcheck: fix clippy warnings

3 years agolintcheck: fix --fix and document it in the readme.
Matthias Krüger [Thu, 11 Mar 2021 14:18:56 +0000 (15:18 +0100)]
lintcheck: fix --fix and document it in the readme.

also hook lintcheck into clippy-dev so that `clippy dev fmt` formats it.

3 years agolintcheck: update logs
Matthias Krüger [Thu, 11 Mar 2021 14:05:13 +0000 (15:05 +0100)]
lintcheck: update logs

3 years agolintcheck: fix bug where lint messages about macros coming from crate deps would...
Matthias Krüger [Thu, 11 Mar 2021 13:29:00 +0000 (14:29 +0100)]
lintcheck: fix bug where lint messages about macros coming from crate deps would sneak in absolute paths to registry sources.

make the path a relative path that starts at the CARGO_HOME to not print the users home location in the log

3 years agolintcheck: update readme and remove the now redundant readme from clippy-dev
Matthias Krüger [Tue, 9 Mar 2021 22:20:04 +0000 (23:20 +0100)]
lintcheck: update readme and remove the now redundant readme from clippy-dev

3 years agomove testfiles to "lintcheck" and fix more paths
Matthias Krüger [Tue, 9 Mar 2021 13:40:59 +0000 (14:40 +0100)]
move testfiles to "lintcheck" and fix more paths

3 years agogitignore: add lintchecks target dir
Matthias Krüger [Tue, 9 Mar 2021 13:08:26 +0000 (14:08 +0100)]
gitignore: add lintchecks target dir

3 years agolintcheck: make sure we lauch from the repo root
Matthias Krüger [Tue, 9 Mar 2021 13:06:42 +0000 (14:06 +0100)]
lintcheck: make sure we lauch from the repo root

This will terminate the program if run via "cargo run".
"cargo run" does currently not work because at least a bunch of paths do not take that into account.

3 years agolintcheck: move out of clippy-dev into own crate
Matthias Krüger [Sat, 6 Mar 2021 09:06:52 +0000 (10:06 +0100)]
lintcheck: move out of clippy-dev into own crate

3 years agofix interning-defined-symbol error
Takayuki Maeda [Thu, 11 Mar 2021 11:18:33 +0000 (20:18 +0900)]
fix interning-defined-symbol error

3 years agoremove unused imports
Takayuki Maeda [Thu, 11 Mar 2021 11:02:29 +0000 (20:02 +0900)]
remove unused imports

3 years agomove expect_fun_call to its own module
Takayuki Maeda [Sat, 6 Mar 2021 13:26:29 +0000 (22:26 +0900)]
move expect_fun_call to its own module

3 years agomove or_fun_call to its own module
Takayuki Maeda [Sat, 6 Mar 2021 10:40:34 +0000 (19:40 +0900)]
move or_fun_call to its own module

3 years agomove map_unwrap_or to its own module
Takayuki Maeda [Sat, 6 Mar 2021 10:31:46 +0000 (19:31 +0900)]
move map_unwrap_or to its own module

3 years agomove option_map_or_none to its own module
Takayuki Maeda [Sat, 6 Mar 2021 10:11:52 +0000 (19:11 +0900)]
move option_map_or_none to its own module

3 years agounnecessary_fold to its own module
Takayuki Maeda [Sat, 6 Mar 2021 10:05:51 +0000 (19:05 +0900)]
unnecessary_fold to its own module

3 years agomove useless_asref to its own module
Takayuki Maeda [Sat, 6 Mar 2021 09:59:35 +0000 (18:59 +0900)]
move useless_asref to its own module

3 years agomove clone_on_copy to its own module
Takayuki Maeda [Sat, 6 Mar 2021 09:53:31 +0000 (18:53 +0900)]
move clone_on_copy to its own module

3 years agomove iter_skip_next to its own module
Takayuki Maeda [Sat, 6 Mar 2021 09:45:25 +0000 (18:45 +0900)]
move iter_skip_next to its own module

3 years agomove map_flatten and search_is_some to their own modules
Takayuki Maeda [Sat, 6 Mar 2021 09:41:43 +0000 (18:41 +0900)]
move map_flatten and search_is_some to their own modules

3 years agomove flat_map_identity to its own module
Takayuki Maeda [Sat, 6 Mar 2021 09:30:40 +0000 (18:30 +0900)]
move flat_map_identity to its own module

3 years agomove filter_map_flat_map to its own module
Takayuki Maeda [Sat, 6 Mar 2021 09:22:15 +0000 (18:22 +0900)]
move filter_map_flat_map to its own module

3 years agomove filter_flat_map to its own module
Takayuki Maeda [Sat, 6 Mar 2021 09:19:18 +0000 (18:19 +0900)]
move filter_flat_map to its own module

3 years agomove filter_map_next to its own module
Takayuki Maeda [Sat, 6 Mar 2021 09:11:42 +0000 (18:11 +0900)]
move filter_map_next to its own module

3 years agomove filter_map_map to its own module
Takayuki Maeda [Sat, 6 Mar 2021 09:05:15 +0000 (18:05 +0900)]
move filter_map_map to its own module

3 years agomove filter_map to its own module
Takayuki Maeda [Sat, 6 Mar 2021 08:55:29 +0000 (17:55 +0900)]
move filter_map to its own module

3 years agomove from_iter_insteam_of_collect to its own module
Takayuki Maeda [Sat, 6 Mar 2021 08:46:50 +0000 (17:46 +0900)]
move from_iter_insteam_of_collect to its own module

3 years agomove into_iter_on_ref and single_char_pattern to their own modules
Takayuki Maeda [Sat, 6 Mar 2021 08:28:14 +0000 (17:28 +0900)]
move into_iter_on_ref and single_char_pattern to their own modules

3 years agomove single_char_push_string to its own module
Takayuki Maeda [Sat, 6 Mar 2021 06:39:28 +0000 (15:39 +0900)]
move single_char_push_string to its own module

3 years agomove single_char_insert_string to its own module
Takayuki Maeda [Sat, 6 Mar 2021 06:29:02 +0000 (15:29 +0900)]
move single_char_insert_string to its own module

3 years agomove string_extend_chars and clone_on_ref_ptr to their own module
Takayuki Maeda [Thu, 4 Mar 2021 15:16:43 +0000 (00:16 +0900)]
move string_extend_chars and clone_on_ref_ptr to their own module

3 years agomove wrong_self_convention to its own module
Takayuki Maeda [Thu, 4 Mar 2021 14:47:30 +0000 (23:47 +0900)]
move wrong_self_convention to its own module

3 years agomove iter_nth, iter_nth_zero and iterator_step_by_zero to their own module
Takayuki Maeda [Thu, 4 Mar 2021 14:06:05 +0000 (23:06 +0900)]
move iter_nth, iter_nth_zero and iterator_step_by_zero to their own module

3 years agomove iter_next_slice to its own module
Takayuki Maeda [Thu, 4 Mar 2021 13:50:53 +0000 (22:50 +0900)]
move iter_next_slice to its own module

3 years agomove map_collect_result_unit to its own module
Takayuki Maeda [Thu, 4 Mar 2021 10:47:06 +0000 (19:47 +0900)]
move map_collect_result_unit to its own module

3 years agomove zst_offset to its own module
Takayuki Maeda [Thu, 4 Mar 2021 10:46:44 +0000 (19:46 +0900)]
move zst_offset to its own module

3 years agoreplace `lints` and `lint` with `check`
Takayuki Maeda [Tue, 2 Mar 2021 16:16:16 +0000 (01:16 +0900)]
replace `lints` and `lint` with `check`

3 years agomove iter_cloned_collect to its own module
Takayuki Maeda [Tue, 2 Mar 2021 16:09:33 +0000 (01:09 +0900)]
move iter_cloned_collect to its own module