Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
nameexhaustion committed Sep 18, 2024
1 parent 661a312 commit 47c896d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/polars-core/src/frame/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,8 @@ impl DataFrame {
}

/// This will not panic even in debug mode - there are some (rare) use cases where a DataFrame
/// is temporarily constructed containing duplicates for dispatching to functions.
/// is temporarily constructed containing duplicates for dispatching to functions. A DataFrame
/// constructed with this method should not be long-lived.
pub const unsafe fn _new_no_checks_impl(columns: Vec<Column>) -> DataFrame {
DataFrame { columns }
}
Expand Down

0 comments on commit 47c896d

Please sign in to comment.