replace bitflags::_core with std

for some reason IntelliJ-Rust reaches for this first
This commit is contained in:
Austin Bonander
2019-12-19 13:10:10 -08:00
committed by Ryan Leckey
parent 5192983093
commit 786deecc36
7 changed files with 7 additions and 7 deletions

View File

@@ -2,7 +2,7 @@ use super::{connection::Step, Connection, Postgres};
use crate::{backend::Backend, describe::{Describe, ResultField}, executor::Executor, params::{IntoQueryParameters, QueryParameters}, row::FromRow, url::Url, Error};
use futures_core::{future::BoxFuture, stream::BoxStream, Future};
use crate::postgres::query::PostgresQueryParameters;
use bitflags::_core::pin::Pin;
use std::pin::Pin;
impl Connection {
async fn prepare_cached(&mut self, query: &str, params: &PostgresQueryParameters) -> crate::Result<String> {

View File

@@ -4,7 +4,7 @@ use crate::{Error, Backend};
use futures_core::Future;
use futures_core::future::BoxFuture;
use std::net::SocketAddr;
use bitflags::_core::pin::Pin;
use std::pin::Pin;
mod backend;
mod connection;