Skip to content

Commit 1f5d88a

Browse files
authored
Fix typo in box.watch example (#3078)
1 parent aa77c68 commit 1f5d88a

File tree

1 file changed

+0
-7
lines changed
  • doc/reference/reference_lua/box_events

1 file changed

+0
-7
lines changed

doc/reference/reference_lua/box_events/watch.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,11 @@ box.watch()
2323

2424
**Example:**
2525

26-
Server:
27-
2826
.. code-block:: lua
2927
3028
-- Broadcast value 42 for the 'foo' key.
3129
box.broadcast('foo', 42)
3230
33-
Client:
34-
35-
.. code-block:: lua
36-
37-
conn = require('net.box').connect(URI)
3831
local log = require('log')
3932
-- Subscribe to updates of the 'foo' key.
4033
local w = box.watch('foo', function(key, value)

0 commit comments

Comments
 (0)