Skip to content

Commit 311322e

Browse files
committed
typo
1 parent 4f6d023 commit 311322e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

crates/re_data_source/src/load_stdin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use re_smart_channel::Sender;
44
/// Asynchronously loads RRD data streaming in from standard input.
55
///
66
/// This fails synchronously iff the standard input stream could not be opened, otherwise errors
7-
/// are handlded asynchronously (as in: they're logged).
7+
/// are handled asynchronously (as in: they're logged).
88
pub fn load_stdin(tx: Sender<LogMsg>) -> anyhow::Result<()> {
99
let version_policy = re_log_encoding::decoder::VersionPolicy::Warn;
1010

crates/re_log_encoding/src/file_sink.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ impl FileSink {
116116
}
117117
}
118118

119+
/// Set `filepath` to `None` to stream to standard output.
119120
fn spawn_and_stream<W: std::io::Write + Send + 'static>(
120121
filepath: Option<&std::path::Path>,
121122
mut encoder: crate::encoder::Encoder<W>,
@@ -159,7 +160,7 @@ impl fmt::Debug for FileSink {
159160
f.debug_struct("FileSink")
160161
.field(
161162
"path",
162-
&self.path.as_ref().cloned().unwrap_or("stdin".into()),
163+
&self.path.as_ref().cloned().unwrap_or("stdout".into()),
163164
)
164165
.finish_non_exhaustive()
165166
}

docs/content/reference/sdk-operating-modes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Use [`rr.save`](https://ref.rerun.io/docs/python/stable/common/initialization_fu
7676
Use [`RecordingStream::save`](https://docs.rs/rerun/latest/rerun/struct.RecordingStream.html#method.save).
7777

7878

79-
## Standard Input/Ouput
79+
## Standard Input/Output
8080

8181
Streams all logging data to standard output, which can then be loaded by the Rerun Viewer by streaming it from standard input.
8282

0 commit comments

Comments
 (0)