Remove wrong assertion
This commit is contained in:
parent
788f97ec68
commit
d8ce333cf8
1 changed files with 1 additions and 2 deletions
|
@ -974,9 +974,8 @@ impl Workspace {
|
||||||
let timestamp = entry.timestamp;
|
let timestamp = entry.timestamp;
|
||||||
match history.entry(project_path) {
|
match history.entry(project_path) {
|
||||||
hash_map::Entry::Occupied(mut entry) => {
|
hash_map::Entry::Occupied(mut entry) => {
|
||||||
let (old_fs_path, old_timestamp) = entry.get();
|
let (_, old_timestamp) = entry.get();
|
||||||
if ×tamp > old_timestamp {
|
if ×tamp > old_timestamp {
|
||||||
assert_eq!(&fs_path, old_fs_path, "Inconsistent nav history");
|
|
||||||
entry.insert((fs_path, timestamp));
|
entry.insert((fs_path, timestamp));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue