projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0802516
)
Rename default() method that does not implement Default
author
Dirkjan Ochtman
<dirkjan@ochtman.nl>
Sat, 14 Apr 2018 09:58:01 +0000
(11:58 +0200)
committer
Dirkjan Ochtman
<dirkjan@ochtman.nl>
Thu, 3 May 2018 19:54:49 +0000
(21:54 +0200)
src/cargo/ops/cargo_compile.rs
patch
|
blob
|
history
diff --git
a/src/cargo/ops/cargo_compile.rs
b/src/cargo/ops/cargo_compile.rs
index 04f76dc23499bec23b18dfeacc5879291bd94124..36eac5b3b412a8c25080ecf5f95d13dc92454083 100644
(file)
--- a/
src/cargo/ops/cargo_compile.rs
+++ b/
src/cargo/ops/cargo_compile.rs
@@
-67,7
+67,7
@@
pub struct CompileOptions<'a> {
}
impl<'a> CompileOptions<'a> {
- pub fn
default
(config: &'a Config, mode: CompileMode) -> CargoResult<CompileOptions<'a>> {
+ pub fn
new
(config: &'a Config, mode: CompileMode) -> CargoResult<CompileOptions<'a>> {
Ok(CompileOptions {
config,
build_config: BuildConfig::new(config, None, &None, mode)?,