Skip to content

Commit

Permalink
removed references to PrefixMap
Browse files Browse the repository at this point in the history
I originally intended to have a PrefixMap parameter, but finally ruled it out
  • Loading branch information
pchampin committed Aug 27, 2020
1 parent 114c43b commit 7576c47
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions api/src/sparql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

use crate::dataset::Dataset;
use crate::graph::Graph;
use crate::prefix::PrefixMap;
use crate::term::TTerm;
use std::error::Error;

Expand All @@ -26,9 +25,7 @@ pub trait SparqlDataset: Dataset {
type SparqlError: Error + 'static;

/// Parse and immediately execute `query`
fn query<'p, P>(&self, query: &str) -> Result<Self::Result, Self::SparqlError>
where
P: PrefixMap<'p> + ?Sized;
fn query(&self, query: &str) -> Result<Self::Result, Self::SparqlError>;
}

/// The result of executing a SPARQL query.
Expand Down

0 comments on commit 7576c47

Please sign in to comment.