This commit is contained in:
Santiago Pastorino 2021-03-10 11:56:51 -03:00 committed by GitHub
parent 0b1bdbb183
commit f83c57bee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ fn main() {
``` ```
This program ought not to type-check: `foo` needs a static reference This program ought not to type-check: `foo` needs a static reference
for its argument, and `bar` wants to be given a function that that for its argument, and `bar` wants to be given a function that
accepts **any** reference (so it can call it with something on its accepts **any** reference (so it can call it with something on its
stack, for example). But *how* do we reject it and *why*? stack, for example). But *how* do we reject it and *why*?

View File

@ -191,7 +191,7 @@ git subtree pull -P src/tools/clippy https://github.com/rust-lang/rust-clippy ma
``` ```
takes all changes since the last `subtree pull` from the tool repo takes all changes since the last `subtree pull` from the tool repo
repo and adds these commits to the rustc repo + a merge commit that moves the tool changes into and adds these commits to the rustc repo + a merge commit that moves the tool changes into
the specified directory in the rust repository. the specified directory in the rust repository.
It is recommended that you always do a push first and get that merged to the tool master branch. It is recommended that you always do a push first and get that merged to the tool master branch.