Skip to content

Commit

Permalink
expect deadcode
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Chien <[email protected]>
  • Loading branch information
stdrc committed Jan 18, 2024
1 parent 7341f03 commit 980d29d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/expr/core/src/window_function/state/buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ struct Entry<K: Ord, V> {
/// Note: A window frame can be pure preceding, pure following, or acrossing the _current row_.
pub(super) struct CurrWindow<'a, K> {
pub key: Option<&'a K>,

// XXX(rc): Maybe will be used in the future, let's keep it for now.
#[cfg_attr(not(test), expect(dead_code))]
/// The preceding half, if any, of the current window is saturated.
pub preceding_saturated: bool,
/// The following half, if any, of the current window is saturated.
pub following_saturated: bool,
}

Expand Down

0 comments on commit 980d29d

Please sign in to comment.