aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/stream.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stream.ml b/lib/stream.ml
index aa2e2e7..0d182bb 100644
--- a/lib/stream.ml
+++ b/lib/stream.ml
@@ -18,8 +18,8 @@ type stream_features = {
unknown_features : Xml.element list;
}
-let get (stream : (signal, async) stream) : (signal, sync) stream Lwt.t =
- (** [stanza stream] is a promise containing a full stanza of the fragments of
+let next (stream : (signal, async) stream) : (signal, sync) stream Lwt.t =
+ (** [next stream] is a promise containing a full stanza of the fragments of
[stream]. *)
let traverse_stanza depth fragment =