]> git.lizzy.rs Git - rust.git/commit
Remove call to canonicalize in BatchDatabase::load_cargo
authorVille Penttinen <villem.penttinen@gmail.com>
Thu, 14 Feb 2019 08:42:40 +0000 (10:42 +0200)
committerVille Penttinen <villem.penttinen@gmail.com>
Thu, 14 Feb 2019 08:57:06 +0000 (10:57 +0200)
commitf7a78b284617cf5a6343614cbe85b8bde1e1e68e
tree70f79c09404d326122932b03fbd2e4e695358762
parentebfa26658e9f65491e79f6853bb7c77030f5b0fe
Remove call to canonicalize in BatchDatabase::load_cargo

Instead of using canonicalize, we now join the given path to
`std::env::current_dir()`, which either replaces the path, if the given path is
absolute, or joins the paths.

This fixes #821.
crates/ra_batch/src/lib.rs