Skip to content

Commit

Permalink
Merge pull request #1750 from diesel-rs/sg-remove-unused-import-from-…
Browse files Browse the repository at this point in the history
…diesel-migrations

Remove unused import from `embed_migrations!`
  • Loading branch information
sgrif authored Jun 2, 2018
2 parents 7812d2e + 934bc1f commit e45679f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All user visible changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/), as described
for Rust libraries in [RFC #1105](https://github.com/rust-lang/rfcs/blob/master/text/1105-api-evolution.md)

## Unreleased

### Fixed

* `embed_migrations!` will no longer emit an unused import warning

## [1.3.1] - 2018-05-23

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ pub fn derive_embed_migrations(input: &syn::DeriveInput) -> quote::Tokens {
extern crate diesel_migrations;

use self::diesel_migrations::*;
use self::diesel::migration::*;
use self::diesel::connection::SimpleConnection;
use std::io;

Expand Down

0 comments on commit e45679f

Please sign in to comment.