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

Commit 1e5b3e8

Browse files
committed
Stub for phantom types
1 parent 503914a commit 1e5b3e8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

features/types/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,7 @@ an API's input is instead the presence or absence of a set of flags. In C code,
6262
this is often done by having each flag correspond to a particular bit, allowing
6363
a single integer to represent, say, 32 or 64 flags. Rust's `std::bitflags`
6464
module provides a typesafe way for doing so.
65+
66+
### Phantom types. [FIXME]
67+
68+
> **[FIXME]** Add some material on phantom types (https://blog.mozilla.org/research/2014/06/23/static-checking-of-units-in-servo/)

0 commit comments

Comments
 (0)