Skip to content

Commit 9e84c85

Browse files
authored
chore: Fix some comments (#8728) β€” thank you, @jingchanglu!
Signed-off-by: jingchanglu <jingchanglu@outlook.com>
1 parent 5756931 commit 9e84c85

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

β€Ždocs/pages/reference/data-model/dimensions.mdxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ the duration of the time interval and has the following format:
547547
`quantity unit [quantity unit...]`, e.g., `5 days` or `1 year 6 months`.
548548

549549
Optionally, a custom granularity might use the `offset` parameter to specify how
550-
the time interval is shifted forward or backward in time. It has the the same
550+
the time interval is shifted forward or backward in time. It has the same
551551
format as `interval`, however, you can also provide negative quantities, e.g.,
552552
`-1 day` or `1 month -10 days`.
553553

β€Žrust/cubestore/cubestore/src/sys/malloc.rsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pub const HAS_TRIM_ALLOC: bool = false;
66
/// Ask the memory allocator to return the freed memory to the system.
77
/// This only has effect when compiled for glibc, this is a no-op on other systems.
88
///
9-
/// Cubestore produces allocation patterns that hit the limitations of glibc`s malloc, which results
9+
/// Cubestore produces allocation patterns that hit the limitations of glibc's malloc, which results
1010
/// in too many physical memory pages being retained in the allocator's arena. This leads to the
1111
/// resident set size growing over the acceptable limits.
1212
/// Probably related to https://sourceware.org/bugzilla/show_bug.cgi?id=11261.

β€Žrust/cubestore/cubezetasketch/src/sparse.rsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ impl SparseRepresentation {
341341
/// - If the sparse representation has become too large, converts to a `NormalRepresentation`.
342342
///
343343
/// Returns a new normal representation if this sparse representation has outgrown itself or
344-
/// `None` if the sparse representation can continue to be be used.
344+
/// `None` if the sparse representation can continue to be used.
345345
#[must_use]
346346
fn update_representation(&mut self, state: &mut State) -> Result<Option<NormalRepresentation>> {
347347
if (self.max_buffer_elements as usize) < self.buffer.len() {

0 commit comments

Comments
Β (0)