Skip to content

Commit

Permalink
Fix quickstart code (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
criccomini authored Aug 14, 2024
1 parent bb89d94 commit 16db982
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ SlateDB uses [`tokio`](https://crates.io/crates/tokio) as its async runtime and
```rust
use bytes::Bytes;
use object_store::{ObjectStore, memory::InMemory, path::Path};
use slatedb::db:{Db, DbOptions};
use slatedb::compactor::CompactorOptions;
use slatedb::db:Db;
use slatedb::config::{CompactorOptions, DbOptions};
use std::{sync::Arc, time::Duration};

#[tokio::main]
fn main() {
async fn main() {
// Setup
let object_store: Arc<dyn ObjectStore> = Arc::new(InMemory::new());
let options = DbOptions {
Expand Down

0 comments on commit 16db982

Please sign in to comment.