Skip to content

Commit

Permalink
fix broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
zjp-CN committed Dec 15, 2023
1 parent 1c65bc2 commit 2f67521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/variance/covariance-borrow-forever.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ fn g<'a, 'b>(_: MyData<'b>, _: &'b MyData<'a>) -> MyData<'b> { ... }

这就是原帖中,yuyidegit 给的 [`impl<'a, 'b> Add<&'b MyData<'a>> for MyData<'b>`][yuyidegit] 能够通过编译的原因。

[yuyidegit]: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=56a6eba5928d4d7e2fe6bd163c7dca04
[yuyidegit]: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=04d52ee1137e1e3256b318172d239862

</details>

Expand Down

0 comments on commit 2f67521

Please sign in to comment.