Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd82fe80

Browse files
build: stop importing types that are part of the 2021 edition prelude
1 parent7e741da commitd82fe80

File tree

5 files changed

+1
-5
lines changed

5 files changed

+1
-5
lines changed

‎postgres-protocol/src/message/frontend.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
use byteorder::{BigEndian,ByteOrder};
55
use bytes::{Buf,BufMut,BytesMut};
6-
use std::convert::TryFrom;
76
use std::error::Error;
87
use std::io;
98
use std::marker;

‎postgres-types/src/chrono_04.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use chrono_04::{
33
DateTime,Duration,FixedOffset,Local,NaiveDate,NaiveDateTime,NaiveTime,TimeZone,Utc,
44
};
55
use postgres_protocol::types;
6-
use std::{convert::TryFrom,error::Error};
6+
use std::error::Error;
77

88
usecrate::{FromSql,IsNull,ToSql,Type};
99

‎postgres-types/src/time_02.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
use bytes::BytesMut;
22
use postgres_protocol::types;
3-
use std::convert::TryFrom;
43
use std::error::Error;
54
use time_02::{date, time,Date,Duration,OffsetDateTime,PrimitiveDateTime,Time,UtcOffset};
65

‎postgres-types/src/time_03.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
use bytes::BytesMut;
22
use postgres_protocol::types;
3-
use std::convert::TryFrom;
43
use std::error::Error;
54
use time_03::{Date,Duration,OffsetDateTime,PrimitiveDateTime,Time,UtcOffset};
65

‎tokio-postgres/src/binary_copy.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ use bytes::{Buf, BufMut, Bytes, BytesMut};
77
use futures_util::{SinkExt,Stream};
88
use pin_project_lite::pin_project;
99
use postgres_types::BorrowToSql;
10-
use std::convert::TryFrom;
1110
use std::io;
1211
use std::io::Cursor;
1312
use std::ops::Range;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp