Skip to content

Commit

Permalink
readme: Fix example (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Jul 23, 2023
1 parent 224626b commit 3512ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Here's a brief example:
use indradb;

// Create an in-memory datastore
let db: indradb::Database<indradb::MemoryDatastore> = indradb::MemoryDatastore::default();
let db: indradb::Database<indradb::MemoryDatastore> = indradb::MemoryDatastore::new_db();

// Create a couple of vertices
let out_v = indradb::Vertex::new(indradb::Identifier::new("person")?);
Expand Down

0 comments on commit 3512ff7

Please sign in to comment.