Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
//============================================================================//
// Imports + Features //
//============================================================================//

#![feature(try_from)]

// Standard Library:
Expand Down Expand Up @@ -177,7 +176,7 @@ impl Into<u32> for TCErrorKind {
/// Conversions from error codes into as specified in
/// `4. Replies` in the TorCP specification.
impl TryFrom<u32> for TCErrorKind {
type Err = ();
type Error = ();
fn try_from(code: u32) -> Result<Self, ()> {
use TCErrorKind::*;
match code {
Expand Down