From 1a3c756cb0952302420059139c4c8bde11934d6e Mon Sep 17 00:00:00 2001 From: Sam O'Connor Date: Sat, 20 Jan 2018 09:02:43 +1100 Subject: [PATCH] improve docstrings for startwrite et all --- src/IOExtras.jl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/IOExtras.jl b/src/IOExtras.jl index 7b9750ef6..4897556b7 100644 --- a/src/IOExtras.jl +++ b/src/IOExtras.jl @@ -76,7 +76,7 @@ end -""" +start_close_read_write_doc = """ startwrite(::IO) closewrite(::IO) startread(::IO) @@ -85,10 +85,10 @@ end Signal start/end of write or read operations. """ -startwrite(io) = nothing -closewrite(io) = nothing -startread(io) = nothing -closeread(io) = nothing +@doc start_close_read_write_doc -> startwrite(io) = nothing +@doc start_close_read_write_doc -> closewrite(io) = nothing +@doc start_close_read_write_doc -> startread(io) = nothing +@doc start_close_read_write_doc -> closeread(io) = nothing using MbedTLS.SSLContext