From ded6c716ee890e45aac92edcdbf4cee5da2cb1b4 Mon Sep 17 00:00:00 2001 From: ra1028 Date: Tue, 16 Apr 2024 14:54:48 +0900 Subject: [PATCH] Stop marking @discardableResult of AtomViewContext.snapshot() --- Sources/Atoms/Context/AtomViewContext.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Sources/Atoms/Context/AtomViewContext.swift b/Sources/Atoms/Context/AtomViewContext.swift index 6e3cf41d..68a4f509 100644 --- a/Sources/Atoms/Context/AtomViewContext.swift +++ b/Sources/Atoms/Context/AtomViewContext.swift @@ -210,7 +210,6 @@ public struct AtomViewContext: AtomWatchableContext { /// or rollback to a specific state. /// /// - Returns: A snapshot that contains values of atoms. - @discardableResult @inlinable public func snapshot() -> Snapshot { _store.snapshot()