Skip to content

Commit 2005ae1

Browse files
committed
Silence the warning about forgetting the vendoring
1 parent 451d384 commit 2005ae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/sources/replaced.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ impl<'gctx> Source for ReplacedSource<'gctx> {
152152
}
153153

154154
fn is_replaced(&self) -> bool {
155-
true
155+
!self.is_builtin_replacement()
156156
}
157157

158158
fn add_to_yanked_whitelist(&mut self, pkgs: &[PackageId]) {

0 commit comments

Comments
 (0)