Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1163 from ethcore/warnings
Browse files Browse the repository at this point in the history
Fixing few clippy warnings
  • Loading branch information
arkpar committed May 27, 2016
2 parents 325a257 + 58039fb commit 468d761
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ethcore/src/blooms/group_position.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
use bloomchain::group as bc;
use util::HeapSizeOf;

/// Represents BloomGroup position in database.
/// Represents `BloomGroup` position in database.
#[derive(PartialEq, Eq, Hash, Clone, Debug)]
pub struct GroupPosition {
/// Bloom level.
Expand Down
2 changes: 1 addition & 1 deletion ethcore/src/trace/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl Key<BlockTraces> for H256 {
}
}

/// Wrapper around blooms::GroupPosition so it could be
/// Wrapper around `blooms::GroupPosition` so it could be
/// uniquely identified in the database.
#[derive(Debug, PartialEq, Eq, Hash, Clone)]
struct TraceGroupPosition(blooms::GroupPosition);
Expand Down
2 changes: 1 addition & 1 deletion parity/migration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ fn version_file_path(path: &PathBuf) -> PathBuf {
}

/// Reads current database version from the file at given path.
/// If the file does not exist returns DEFAULT_VERSION.
/// If the file does not exist returns `DEFAULT_VERSION`.
fn current_version(path: &PathBuf) -> Result<u32, Error> {
match File::open(version_file_path(path)) {
Err(ref err) if err.kind() == ErrorKind::NotFound => Ok(DEFAULT_VERSION),
Expand Down

0 comments on commit 468d761

Please sign in to comment.