Skip to content

Commit

Permalink
fix examples (and appease clippy) (#376)
Browse files Browse the repository at this point in the history
some quick fixes for both examples and a quick clippy fix for docstring
  • Loading branch information
zachschuermann authored Oct 8, 2024
1 parent 86ffe02 commit 1e19980
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ffi/src/handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ mod private {
/// An accompanying [`HandleDescriptor`] trait defines the behavior of each handle type:
///
/// * The true underlying ("target") type the handle represents. For safety reasons, target type
/// must always be [`Send`].
/// must always be [`Send`].
///
/// * Mutable (`Box`-like) vs. shared (`Arc`-like). For safety reasons, the target type of a
/// shared handle must always be [`Send`]+[`Sync`].
/// shared handle must always be [`Send`]+[`Sync`].
///
/// * Sized vs. unsized. Sized types allow handle operations to be implemented more efficiently.
///
Expand Down
2 changes: 1 addition & 1 deletion kernel/examples/read-table-multi-threaded/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ clap = { version = "4.5", features = ["derive"] }
delta_kernel = { path = "../../../kernel", features = [
"cloud",
"default-engine",
"sync-engine",
"developer-visibility",
"tokio",
] }
env_logger = "0.11.5"
itertools = "0.13"
Expand Down
2 changes: 1 addition & 1 deletion kernel/examples/read-table-single-threaded/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ clap = { version = "4.5", features = ["derive"] }
delta_kernel = { path = "../../../kernel", features = [
"cloud",
"default-engine",
"sync-engine",
"developer-visibility",
"tokio",
] }
env_logger = "0.11.5"
itertools = "0.13"
Expand Down

0 comments on commit 1e19980

Please sign in to comment.