@@ -30,6 +30,9 @@ h1#glossary ~ ul > li:first-line {
3030
3131- allocate:\
3232 Dynamic memory allocation on [ the heap] ( memory-management/review.md ) .
33+ - array:\
34+ A fixed-size collection of elements of the same type, stored contiguously in
35+ memory. See [ Arrays] ( tuples-and-arrays/arrays.md ) .
3336- associated type:\
3437 A type associated with a specific trait. Useful for defining the relationship
3538 between types.
@@ -130,6 +133,10 @@ h1#glossary ~ ul > li:first-line {
130133- receiver:\
131134 The first parameter in a Rust [ method] ( methods-and-traits/methods.md ) that
132135 represents the instance on which the method is called.
136+ - reference:\
137+ A non-owning pointer to a value that borrows it without transferring
138+ ownership. References can be [ shared (immutable)] ( references/shared.md ) or
139+ [ exclusive (mutable)] ( references/exclusive.md ) .
133140- reference counting:\
134141 A memory management technique in which the number of references to an object
135142 is tracked, and the object is deallocated when the count reaches zero. See
@@ -140,6 +147,10 @@ h1#glossary ~ ul > li:first-line {
140147- safe:\
141148 Refers to code that adheres to Rust's ownership and borrowing rules,
142149 preventing memory-related errors. See [ Unsafe Rust] ( unsafe-rust.md ) .
150+ - slice:\
151+ A dynamically-sized view into a contiguous sequence, such as an array or
152+ vector. Unlike arrays, slices have a size determined at runtime. See
153+ [ Slices] ( references/slices.md ) .
143154- scope:\
144155 The region of a program where a variable is valid and can be used. See
145156 [ Blocks and Scopes] ( control-flow-basics/blocks-and-scopes.md ) .
0 commit comments