Skip to content

Commit 602d2d1

Browse files
committed
Removed lots of type annotations.
Now possible thanks to rust-lang/rust#22172
1 parent bc4d880 commit 602d2d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/id.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ impl<T> Id<T, Owned> where T: Message {
9090

9191
impl<T, O> Encode for Id<T, O> where T: EncodePtr {
9292
fn code() -> &'static str {
93-
<T as EncodePtr>::ptr_code()
93+
T::ptr_code()
9494
}
9595
}
9696

0 commit comments

Comments
 (0)