Skip to content

Commit 5674b09

Browse files
committed
Update MigratingTo1.0.md
1 parent 2764911 commit 5674b09

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Sources/Sharing/Documentation.docc/Articles/MigrationGuides/MigratingTo1.0.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ If you wish to skip this initial value, use Combine's `dropFirst` operator:
103103
A number of APIs have been renamed for the 1.0 release with the old names deprecated with fix-its
104104
where possible:
105105
106-
| 0.1 | 1.0 |
107-
| --------------------------------- | ------------------------ |
108-
| `shared = ` | `$shared.withLock { }` |
109-
| `PersistenceKey` | `SharedKey` |
110-
| `PersistenceReaderKey` | `SharedReaderKey` |
111-
| `PersistenceKeyDefault` | `SharedKey.Default` |
112-
| `Shared(_:)` | `Shared(value:)` |
113-
| `try Shared(_:)` | `try Shared(require:)` |
114-
| `$shared.reader` | `SharedReader($shared)` |
115-
| `ForEach($shared.elements) { }` | `ForEach($shared) { }` |
106+
| 0.1 | 1.0 |
107+
| --------------------------------- | ------------------------------- |
108+
| `shared = ` | `$shared.withLock { }` |
109+
| `PersistenceKey` | `SharedKey` |
110+
| `PersistenceReaderKey` | `SharedReaderKey` |
111+
| `PersistenceKeyDefault` | `SharedKey.Default` |
112+
| `Shared(_:)` | `Shared(value:)` |
113+
| `try Shared(_:)` | `try Shared(require:)` |
114+
| `$shared.reader` | `SharedReader($shared)` |
115+
| `ForEach($shared.elements) { }` | `ForEach(Array($shared)) { }` |

0 commit comments

Comments
 (0)