Update CONTRIBUTING.md to describe E-medium in detail

Co-authored-by: Philipp Krones <hello@philkrones.com>
This commit is contained in:
Takayuki Nakata 2020-10-30 00:24:29 +09:00 committed by GitHub
parent 8bd1e23167
commit 38ec920fb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,8 +64,9 @@ Usually the lint will end up to be a nested series of matches and ifs, [like so]
But we can make it nest-less by using [if_chain] macro, [like this][nest-less].
[`E-medium`] issues are generally pretty easy too, though it's recommended you work on an [`good first issue`]
first. They are mostly classified as [`E-medium`], since they might be somewhat involved code wise,
but not difficult per-se.
first. Sometimes they are only somewhat involved code wise, but not difficult per-se.
Note that [`E-medium`] issues may require some knowledge of Clippy internals or some
debugging to find the actual problem behind the issue.
[`T-middle`] issues can be more involved and require verifying types. The [`ty`] module contains a
lot of methods that are useful, though one of the most useful would be `expr_ty` (gives the type of