Skip to content

Commit

Permalink
Fix the typos at the streaming sink compat docs
Browse files Browse the repository at this point in the history
Signed-off-by: MOZGIII <mike-n@narod.ru>
  • Loading branch information
MOZGIII committed Mar 19, 2020
1 parent 9e4a0e4 commit d5b8f44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sinks/file/streaming_sink/compat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ use futures::channel::mpsc;
use futures::compat::CompatSink;
use futures01::sink::Sink;

/// This function provides the compatiblity with our old interfaces.
/// This function provides the compatibility with our old interfaces.
///
/// There are serveral aspects to it:
/// There are several aspects to it:
///
/// 1. We use pull-based interface now, before we used push-based interface.
/// Practically this means we're using `Stream` now instead of `Sink`.
Expand Down Expand Up @@ -42,7 +42,7 @@ pub type OldSink = Box<dyn Sink<SinkItem = Event, SinkError = ()> + 'static + Se
/// adapter won't be required.
///
/// Spawns the polling loop at the background and returns
/// a current-topolgy-compatible sink.
/// a current-topology-compatible sink.
///
/// Among other things, this adapter maintains backpressure through the sink, as
/// it'll only go as fast as `streaming_sink` is able to poll items, without any
Expand Down

0 comments on commit d5b8f44

Please sign in to comment.