Fix typos.

This commit is contained in:
Gav Wood 2016-03-12 11:22:02 +01:00
parent 82a8810057
commit b03679e1a6

View File

@ -73,8 +73,8 @@ impl fmt::Display for Algorithm {
pub fn new(path: &str, algorithm: Algorithm) -> Box<JournalDB> {
match algorithm {
Algorithm::Archive => Box::new(archivedb::ArchiveDB::new(path)),
Algorithm::EarlyMerge => Box::new(optiononedb::EarlyMergeDB::new(path)),
Algorithm::OverlayRecent => Box::new(optiononedb::OverlayRecentDB::new(path)),
Algorithm::EarlyMerge => Box::new(earlymergedb::EarlyMergeDB::new(path)),
Algorithm::OverlayRecent => Box::new(overlayrecentdb::OverlayRecentDB::new(path)),
_ => unimplemented!(),
}
}