clean up warnings

pull/11/head
Dustin Whitney 5 years ago
parent 0e12edfdc9
commit a8ce5653f7
  1. 3
      lib/src/repository.rs
  2. 8
      lib/src/sparql/mod.rs
  3. 1
      lib/src/store/mod.rs

@ -1,7 +1,6 @@
use crate::model::*;
use crate::sparql::{GraphPattern, PreparedQuery, QueryOptions};
use crate::sparql::{GraphPattern, PreparedQuery};
use crate::{DatasetSyntax, GraphSyntax, Result};
use rio_api::iri::Iri;
use std::io::BufRead;
/// A `Repository` stores a [RDF dataset](https://www.w3.org/TR/rdf11-concepts/#dfn-rdf-dataset)

@ -64,7 +64,7 @@ impl<'a, S: StoreConnection + 'a> SimplePreparedQuery<S> {
QueryVariants::Select {
algebra,
dataset: _,
base_iri,
..
} => {
let (plan, variables) = PlanBuilder::build(dataset.encoder(), &algebra)?;
SimplePreparedQueryAction::Select {
@ -76,7 +76,7 @@ impl<'a, S: StoreConnection + 'a> SimplePreparedQuery<S> {
QueryVariants::Ask {
algebra,
dataset: _,
base_iri,
..
} => {
let (plan, _) = PlanBuilder::build(dataset.encoder(), &algebra)?;
SimplePreparedQueryAction::Ask {
@ -88,7 +88,7 @@ impl<'a, S: StoreConnection + 'a> SimplePreparedQuery<S> {
construct,
algebra,
dataset: _,
base_iri,
..
} => {
let (plan, variables) = PlanBuilder::build(dataset.encoder(), &algebra)?;
SimplePreparedQueryAction::Construct {
@ -104,7 +104,7 @@ impl<'a, S: StoreConnection + 'a> SimplePreparedQuery<S> {
QueryVariants::Describe {
algebra,
dataset: _,
base_iri,
..
} => {
let (plan, _) = PlanBuilder::build(dataset.encoder(), &algebra)?;
SimplePreparedQueryAction::Describe {

@ -14,7 +14,6 @@ use crate::model::*;
use crate::sparql::{SimplePreparedQuery};
use crate::store::numeric_encoder::*;
use crate::{DatasetSyntax, GraphSyntax, RepositoryConnection, Result};
use rio_api::iri::Iri;
use rio_api::parser::{QuadsParser, TriplesParser};
use rio_turtle::{NQuadsParser, NTriplesParser, TriGParser, TurtleParser};
use rio_xml::RdfXmlParser;

Loading…
Cancel
Save