]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/lazy.rs
Rollup merge of #92300 - Itus-Shield:mips64-openwrt, r=nagisa
[rust.git] / library / std / src / lazy.rs
index 5afdb799f0c74aadbff4b1ff167834a7c871acc9..d7450962359df78e42e636aeab324071a85c16b3 100644 (file)
@@ -171,6 +171,7 @@ impl<T: Eq> Eq for SyncOnceCell<T> {}
 impl<T> SyncOnceCell<T> {
     /// Creates a new empty cell.
     #[unstable(feature = "once_cell", issue = "74465")]
+    #[must_use]
     pub const fn new() -> SyncOnceCell<T> {
         SyncOnceCell {
             once: Once::new(),