Skip to content

Commit adac861

Browse files
nlibergjooert
authored andcommitted
Fix link to newtypes page
1 parent d0744ba commit adac861

File tree

1 file changed

+1
-1
lines changed
  • src/doc/style/features/functions-and-methods

1 file changed

+1
-1
lines changed

src/doc/style/features/functions-and-methods/input.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ fn foo(a: u8) { ... }
159159
Note that
160160
[`ascii::Ascii`](http://static.rust-lang.org/doc/master/std/ascii/struct.Ascii.html)
161161
is a _wrapper_ around `u8` that guarantees the highest bit is zero; see
162-
[newtype patterns]() for more details on creating typesafe wrappers.
162+
[newtype patterns](../types/newtype.md) for more details on creating typesafe wrappers.
163163
164164
Static enforcement usually comes at little run-time cost: it pushes the
165165
costs to the boundaries (e.g. when a `u8` is first converted into an

0 commit comments

Comments
 (0)