Browse Source

Update README example.

pull/1/head
Fredrik Ekre 4 years ago
parent
commit
8abd167986
  1. 2
      README.md

2
README.md

@ -16,7 +16,7 @@ Construct a tee stream by wrapping multiple writable IO objects, @@ -16,7 +16,7 @@ Construct a tee stream by wrapping multiple writable IO objects,
call function `f` on the tee, and automatically calls `close` on
all IO streams:
```julia
TeeStream(f::Function, io::IO...) do tee
TeeStream(io::IO...) do tee
write(tee, ...)
end
```

Loading…
Cancel
Save