Skip to content

Commit 52dbbd2

Browse files
author
QuineDot
committed
Hmm can't reach localhost from internet
1 parent 31aa374 commit 52dbbd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dyn-trait-coercions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ fn coerce_cell<'a, T: Trait + 'a>(c: Cell<Box<T>>) -> Cell<Box<dyn Trait + 'a>>
145145
```
146146

147147
We'll cover the apparent exceptions (which are actually just supertype
148-
coercions) [in an upcoming section.](http://127.0.0.1:3000/dyn-covariance.html#variance-in-nested-context)
148+
coercions) [in an upcoming section.](./dyn-covariance.md#variance-in-nested-context)
149149

150150
## The `Sized` limitation
151151

@@ -229,7 +229,7 @@ where `'a: 'b`. This is important for
229229
As lifetimes are erased during compilation, the vtable is the same regardless of the lifetime.
230230
Despite that, this unsizing coercion can still [not happen in a nested context.](#no-nested-coercions)
231231

232-
However, [in a future section](http://127.0.0.1:3000/dyn-covariance.html) we'll see
232+
However, [in a future section](./dyn-covariance.md) we'll see
233233
how variance can allow shortening the trait object lifetime even in nested context,
234234
provided that context is also covariant. [The section after that about higher-ranked
235235
types](./dyn-hr.md) explores another lifetime-related coercion which could also be

0 commit comments

Comments
 (0)