Skip to content

Commit

Permalink
Update for Rust syntax changes
Browse files Browse the repository at this point in the history
extern crate foo = "bar";
is now
extern crate "bar" as foo;
as per RFC 47.  Details at rust-lang/rust#16461
  • Loading branch information
cosmycoder committed Sep 5, 2014
1 parent a7ca753 commit 984c37d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rust-crypto-util/tool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#![crate_name = "rust-crypto-util"]

extern crate getopts;
extern crate rust_crypto = "rust-crypto";
extern crate "rust-crypto" as rust_crypto;

use std::io;
use std::os;
Expand Down

0 comments on commit 984c37d

Please sign in to comment.