Skip to content

Commit

Permalink
remove unused variable assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Masen committed Jun 26, 2018
1 parent d0ac895 commit 3fd60a2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/cli-support/src/js/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ pub struct SubContext<'a, 'b: 'a> {

impl<'a> Context<'a> {
fn export(&mut self, name: &str, contents: &str, comments: Option<String>) {
let contents = contents;
let contents = contents.trim();
if let Some(ref c) = comments {
self.globals.push_str(c);
Expand Down

0 comments on commit 3fd60a2

Please sign in to comment.