Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 committed Dec 3, 2023
1 parent b3441c0 commit 23ac7f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/actix-triplestore/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ async fn list_by_verb(
for item in all {
let item = item?;

let key = std::str::from_utf8(&item.key).unwrap();
let key = std::str::from_utf8(&item).unwrap();
let verb_key = key.split(':').nth(4).unwrap();
let object_key = key.split(':').nth(6).unwrap();
let relation_data =
Expand Down

0 comments on commit 23ac7f4

Please sign in to comment.