mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 17:06:30 +00:00
refactor(io): make rstream use a linear buffer
If you like it you shouldn't put a ring on it. This is what _every_ consumer of RStream used anyway, either by calling rbuffer_reset, or rbuffer_consumed_compact (same as rbuffer_reset without needing a scratch buffer), or by consuming everything in each stream_read_cb call directly.
This commit is contained in:
@@ -21,8 +21,6 @@
|
||||
#include "nvim/os/fileio.h"
|
||||
#include "nvim/os/fs.h"
|
||||
#include "nvim/os/os_defs.h"
|
||||
#include "nvim/rbuffer.h"
|
||||
#include "nvim/rbuffer_defs.h"
|
||||
#include "nvim/types_defs.h"
|
||||
|
||||
#ifdef HAVE_SYS_UIO_H
|
||||
|
Reference in New Issue
Block a user