X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=CONTRIBUTING.md;h=5e74cd9ef0291d815341a149fb253e34a385d8c1;hb=115592530548c623c205185e1d3b89ce7ce05b18;hp=d7b181c8bdba75e9969a9a0a6dcd1e04ab326f2c;hpb=aa819b7748b8aa6ae03ddcdc993b6dff1ba26912;p=rust.git diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d7b181c8bdb..5e74cd9ef02 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -31,7 +31,7 @@ the lint will end up to be a nested series of matches and ifs, [like so](https://github.com/Manishearth/rust-clippy/blob/de5ccdfab68a5e37689f3c950ed1532ba9d652a0/src/misc.rs#L34). T-middle issues can be more involved and require verifying types. The -[`ty`](http://manishearth.github.io/rust-internals-docs/rustc/middle/ty) module contains a +[`ty`](http://manishearth.github.io/rust-internals-docs/rustc/ty) module contains a lot of methods that are useful, though one of the most useful would be `expr_ty` (gives the type of an AST expression). `match_def_path()` in Clippy's `utils` module can also be useful.