aboutsummaryrefslogtreecommitdiff
path: root/src/api/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/buffer.h')
-rw-r--r--src/api/buffer.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/api/buffer.h b/src/api/buffer.h
index 49379e3bc9..17ba9ead94 100644
--- a/src/api/buffer.h
+++ b/src/api/buffer.h
@@ -25,10 +25,9 @@ String buffer_get_line(Buffer buffer, int64_t index, Error *err);
///
/// @param buffer The buffer handle
/// @param index The line index
-/// @param line The new line. This can can be a String(replacement) or
-/// Nil(delete). Anything else is an error.
+/// @param line The new line.
/// @param[out] err Details of an error that may have occurred
-void buffer_set_line(Buffer buffer, int64_t index, Object line, Error *err);
+void buffer_set_line(Buffer buffer, int64_t index, String line, Error *err);
/// Retrieves a line range from the buffer
///