Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklan committed Feb 13, 2025
1 parent e6f415a commit fe7adba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ffi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ pub unsafe extern "C" fn version(snapshot: Handle<SharedSnapshot>) -> u64 {
///
/// # Safety
///
/// Caller is responsible for passing a valid handle.
/// Caller is responsible for passing a valid snapshot handle.
#[no_mangle]
pub unsafe extern "C" fn snapshot_table_root(
snapshot: Handle<SharedSnapshot>,
Expand All @@ -633,10 +633,10 @@ pub unsafe extern "C" fn get_partition_column_count(snapshot: Handle<SharedSnaps
snapshot.metadata().partition_columns.len()
}

/// Get an iterator of the list of partition columns for this scan.
/// Get an iterator of the list of partition columns for this snapshot.
///
/// # Safety
/// Caller is responsible for passing a valid global scan pointer.
/// Caller is responsible for passing a valid snapshot handle.
#[no_mangle]
pub unsafe extern "C" fn get_partition_columns(
snapshot: Handle<SharedSnapshot>,
Expand Down

0 comments on commit fe7adba

Please sign in to comment.