Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions log/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ pub struct WriteOptions {

/// Options for scan operations.
///
/// Controls the behavior of [`Log::scan`](crate::Log::scan) and
/// [`Log::scan_with_options`](crate::Log::scan_with_options).
/// Controls the behavior of [`LogRead::scan`](crate::LogRead::scan) and
/// [`LogRead::scan_with_options`](crate::LogRead::scan_with_options).
/// Additional options may be added in future versions.
#[derive(Debug, Clone, Default)]
pub struct ScanOptions {
Expand All @@ -61,8 +61,8 @@ pub struct ScanOptions {

/// Options for count operations.
///
/// Controls the behavior of [`Log::count`](crate::Log::count) and
/// [`Log::count_with_options`](crate::Log::count_with_options).
/// Controls the behavior of [`LogRead::count`](crate::LogRead::count) and
/// [`LogRead::count_with_options`](crate::LogRead::count_with_options).
#[derive(Debug, Clone, Default)]
pub struct CountOptions {
/// Whether to return an approximate count.
Expand Down
2 changes: 1 addition & 1 deletion log/src/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ impl LogIterator {
///
/// Read operations are provided via the [`LogRead`] trait, which `Log`
/// implements. This allows generic code to work with either `Log` or
/// [`LogReader`].
/// [`LogReader`](crate::LogReader).
///
/// # Thread Safety
///
Expand Down
2 changes: 1 addition & 1 deletion log/src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pub struct Record {

/// An entry read from the log.
///
/// Log entries are returned by [`ScanIterator`](crate::ScanIterator) and contain
/// Log entries are returned by [`LogIterator`](crate::LogIterator) and contain
/// the original record data along with metadata assigned at append time.
///
/// # Sequence Numbers
Expand Down
5 changes: 2 additions & 3 deletions log/src/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,10 @@ pub trait LogRead {
///
/// # Obtaining a LogReader
///
/// A `LogReader` is obtained by calling [`Log::reader`](crate::Log::reader):
/// A `LogReader` is created by calling [`LogReader::open`]:
///
/// ```ignore
/// let log = Log::open(path, options).await?;
/// let reader = log.reader();
/// let reader = LogReader::open(config).await?;
/// ```
///
/// # Thread Safety
Expand Down
2 changes: 1 addition & 1 deletion timeseries/src/promql/openmetrics.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! OpenMetrics text format parser.
//!
//! Parses OpenMetrics exposition format into `Series` for ingestion.
//! See: https://prometheus.io/docs/specs/om/open_metrics_spec/
//! See: <https://prometheus.io/docs/specs/om/open_metrics_spec/>

use std::collections::HashMap;
use std::time::{SystemTime, UNIX_EPOCH};
Expand Down