Rollup merge of #59221 - czipperz:as_ref_documentation, r=Centril
Option and Result: Add references to documentation of as_ref and as_mut This makes the documentation more consistent with that of `Pin::as_ref` which converts "from `&Pin<Pointer<T>>` to `Pin<&t>`". This generally makes it clearer that the reference is going inside the option.
Showing
想要评论请 注册 或 登录