Skip to content

Commit 82176a7

Browse files
committed
IVar: fix example markup.
1 parent ecc984e commit 82176a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/concurrent/ivar.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ module Concurrent
1616
# a low-level primitive.
1717
#
1818
# @example Create, set and get an `IVar`
19-
# ivar = Concurrent::IVar.new
20-
# ivar.set 14
21-
# ivar.get #=> 14
22-
# ivar.set 2 # would now be an error
19+
# ivar = Concurrent::IVar.new
20+
# ivar.set 14
21+
# ivar.get #=> 14
22+
# ivar.set 2 # would now be an error
2323
class IVar
2424

2525
# Error that indicates that an `IVar` was set twice. Each `IVar` can only

0 commit comments

Comments
 (0)