Skip to content

Commit

Permalink
update rust
Browse files Browse the repository at this point in the history
  • Loading branch information
mahkoh committed Oct 30, 2014
1 parent ddbcbde commit 3e6a5c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/bin/bot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ extern crate regex;
#[phase(plugin)]
extern crate regex_macros;
extern crate tox;
extern crate debug;

use tox::core::*;

Expand Down
2 changes: 1 addition & 1 deletion src/core/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ impl ToxOptions {
/// Use a proxy
pub fn proxy(mut self, addr: &str, port: u16) -> ToxOptions {
if addr.len() >= 256 {
fail!("proxy address is too long");
panic!("proxy address is too long");
}

self.txo.proxy_address.as_mut_slice()
Expand Down

0 comments on commit 3e6a5c6

Please sign in to comment.