Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 448 Bytes

File metadata and controls

17 lines (12 loc) · 448 Bytes

Std library types

The std library provides many custom types which expands drastically on the primitives. Some of these include:

  • growable Strings like: "hello world"
  • growable vectors: [1, 2, 3]
  • optional types: Option<i32>
  • error handling types: Result<i32, i32>
  • heap allocated pointers: Box<i32>

See also:

primitives and the std library