diff --git a/src/rust-2018/trait-system/dyn-trait-for-trait-objects.md b/src/rust-2018/trait-system/dyn-trait-for-trait-objects.md index c76f0c55..d43e2e18 100644 --- a/src/rust-2018/trait-system/dyn-trait-for-trait-objects.md +++ b/src/rust-2018/trait-system/dyn-trait-for-trait-objects.md @@ -36,7 +36,7 @@ is sometimes slower, and often cannot be used at all when its alternatives can. Furthermore, with `impl Trait` arriving, "`impl Trait` vs `dyn Trait`" is much more symmetric, and therefore a bit nicer, than "`impl Trait` vs `Trait`". -`impl Trait` is explained [here](rust-2018/trait-system/impl-trait-for-returning-complex-types-with-ease.html) +`impl Trait` is explained [here](impl-trait-for-returning-complex-types-with-ease.html) In the new edition, you should therefore prefer `dyn Trait` to just `Trait` -where you need a trait object. \ No newline at end of file +where you need a trait object.