mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 06:55:34 +08:00
Clean up a few more comments
This commit is contained in:
parent
f733553ac8
commit
fb700ca50d
@ -349,12 +349,12 @@ pub struct IoBufferfill {
|
|||||||
buffer: Arc<IoBuffer>,
|
buffer: Arc<IoBuffer>,
|
||||||
}
|
}
|
||||||
impl IoBufferfill {
|
impl IoBufferfill {
|
||||||
/// Create an io_bufferfill_t which, when written from, fills a buffer with the contents.
|
/// Create an IoBufferfill which, when written from, fills a buffer with the contents.
|
||||||
/// Returns an error on failure, e.g. too many open fds.
|
/// Returns an error on failure, e.g. too many open fds.
|
||||||
pub fn create() -> io::Result<Arc<IoBufferfill>> {
|
pub fn create() -> io::Result<Arc<IoBufferfill>> {
|
||||||
Self::create_opts(0, STDOUT_FILENO)
|
Self::create_opts(0, STDOUT_FILENO)
|
||||||
}
|
}
|
||||||
/// Create an io_bufferfill_t which, when written from, fills a buffer with the contents.
|
/// Create an IoBufferfill which, when written from, fills a buffer with the contents.
|
||||||
/// Returns an error on failure, e.g. too many open fds.
|
/// Returns an error on failure, e.g. too many open fds.
|
||||||
///
|
///
|
||||||
/// \param target the fd which this will be dup2'd to - typically stdout.
|
/// \param target the fd which this will be dup2'd to - typically stdout.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user