File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -179,16 +179,16 @@ extension ${type} {
179179 ///
180180 /// ```
181181 /// class Image {
182- /// var _histogram: UnsafeAtomicLazyReference<Histogram> = ...
182+ /// var _histogram: UnsafeAtomicLazyReference<Histogram> = .init()
183183 ///
184184 /// // This is safe to call concurrently from multiple threads.
185185 /// var atomicLazyHistogram: Histogram {
186- /// if let histogram = _histogram.load() { return foo }
186+ /// if let histogram = _histogram.load() { return histogram }
187187 /// // Note that code here may run concurrently on
188188 /// // multiple threads, but only one of them will get to
189189 /// // succeed setting the reference.
190190 /// let histogram = ...
191- /// return _histogram.storeIfNilThenLoad(foo )
191+ /// return _histogram.storeIfNilThenLoad(histogram )
192192 /// }
193193 /// ```
194194 ///
You can’t perform that action at this time.
0 commit comments