Skip to content
This repository was archived by the owner on Oct 9, 2018. It is now read-only.

Commit a23992c

Browse files
committed
Fix link to newtypes page
1 parent 5031907 commit a23992c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/functions-and-methods/input.md

Lines changed: 1 addition & 1 deletion
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)