Skip to content

Commit

Permalink
at least a courteous reminder
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Oct 7, 2024
1 parent 00d472a commit 7714d7b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/store/re_chunk/src/chunk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,11 @@ impl PartialEq for Chunk {
}

impl Chunk {
/// Returns a version of us with a new id
/// Returns a version of us with a new [`ChunkId`].
///
/// Reminder:
/// * The returned [`Chunk`] will re-use the exact same [`RowId`]s as `self`.
/// * Duplicated [`RowId`]s in the `ChunkStore` is undefined behavior.
#[must_use]
#[inline]
pub fn with_id(mut self, id: ChunkId) -> Self {
Expand Down

0 comments on commit 7714d7b

Please sign in to comment.