File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 13
13
//! Rust types can be classified in various useful ways according to
14
14
//! intrinsic properties of the type. These classifications, often called
15
15
//! 'kinds', are represented as traits.
16
- //!
17
- //! They cannot be implemented by user code, but are instead implemented
18
- //! by the compiler automatically for the types to which they apply.
19
- //!
20
- //! Marker types are special types that are used with unsafe code to
21
- //! inform the compiler of special constraints. Marker types should
22
- //! only be needed when you are creating an abstraction that is
23
- //! implemented using unsafe code. In that case, you may want to embed
24
- //! some of the marker types below into your type.
25
16
26
17
#![ stable( feature = "rust1" , since = "1.0.0" ) ]
27
18
You can’t perform that action at this time.
0 commit comments