Extend unused_must_use
to cover block exprs
This commit is contained in:
parent
314c39d2ea
commit
72b3b58efc
19 changed files with 289 additions and 65 deletions
|
@ -308,7 +308,7 @@ mod prim_never {}
|
|||
///
|
||||
/// ```no_run
|
||||
/// // Undefined behaviour
|
||||
/// unsafe { char::from_u32_unchecked(0x110000) };
|
||||
/// let _ = unsafe { char::from_u32_unchecked(0x110000) };
|
||||
/// ```
|
||||
///
|
||||
/// USVs are also the exact set of values that may be encoded in UTF-8. Because
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue