-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Old docs appear under /doc/master/ng/...
on the website
#10896
Comments
False positive, due to browser caching. |
Fixed, thanks @alexcrichton. |
@huonw I think I've got a similar situation: |
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Jun 30, 2023
…s,xFrednet consider autoderef through user-defined `Deref` in `eager_or_lazy` Fixes rust-lang#10462 This PR handles autoderef in the `eager_or_lazy` util module and stops suggesting to change lazy to eager if autoderef in an expression goes through user defined `Deref` impls, e.g. ```rs struct S; impl Deref for S { type Target = (); fn deref(&self) -> &Self::Target { &() } } let _ = Some(()).as_ref().unwrap_or_else(|| &S); // autoderef `&S` -> `&()` ``` changelog: [`unnecessary_lazy_evaluations`]: don't suggest changing lazy evaluation to eager if autoderef goes through user-defined `Deref` r? `@xFrednet` (because of the earlier review in rust-lang#10864, might help for context here)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
e.g. http://static.rust-lang.org/doc/master/ng/std/index.html
They should be removed.
The text was updated successfully, but these errors were encountered: