You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-11-28 08:48:18 +02:00
Cleanup glossary (#2950)
Co-authored-by: Martin Geisler <martin.geisler@proton.ch>
This commit is contained in:
@@ -30,9 +30,6 @@ h1#glossary ~ ul > li:first-line {
|
|||||||
|
|
||||||
- allocate:\
|
- allocate:\
|
||||||
Dynamic memory allocation on [the heap](memory-management/review.md).
|
Dynamic memory allocation on [the heap](memory-management/review.md).
|
||||||
- argument:\
|
|
||||||
Information that is passed into a [function](control-flow-basics/functions.md)
|
|
||||||
or method.
|
|
||||||
- associated type:\
|
- associated type:\
|
||||||
A type associated with a specific trait. Useful for defining the relationship
|
A type associated with a specific trait. Useful for defining the relationship
|
||||||
between types.
|
between types.
|
||||||
@@ -49,20 +46,11 @@ h1#glossary ~ ul > li:first-line {
|
|||||||
- brace:\
|
- brace:\
|
||||||
`{` and `}`. Also called _curly brace_, they delimit
|
`{` and `}`. Also called _curly brace_, they delimit
|
||||||
[_blocks_](control-flow-basics/blocks-and-scopes.md).
|
[_blocks_](control-flow-basics/blocks-and-scopes.md).
|
||||||
- build:\
|
|
||||||
The process of converting source code into executable code or a usable
|
|
||||||
program. See [Running Code Locally with Cargo](cargo/running-locally.md).
|
|
||||||
- call:\
|
|
||||||
To invoke or execute a [function or method](control-flow-basics/functions.md).
|
|
||||||
- channel:\
|
- channel:\
|
||||||
Used to safely pass messages [between threads](concurrency/channels.md).
|
Used to safely pass messages [between threads](concurrency/channels.md).
|
||||||
- Comprehensive Rust 🦀:\
|
|
||||||
The courses here are jointly called Comprehensive Rust 🦀.
|
|
||||||
- concurrency:\
|
- concurrency:\
|
||||||
The execution of multiple tasks or processes at the same time. See
|
The execution of multiple tasks or processes at the same time. See
|
||||||
[Welcome to Concurrency in Rust](concurrency/welcome.md).
|
[Welcome to Concurrency in Rust](concurrency/welcome.md).
|
||||||
- Concurrency in Rust:\
|
|
||||||
See [Concurrency in Rust](concurrency/welcome.md).
|
|
||||||
- constant:\
|
- constant:\
|
||||||
A value that does not change during the execution of a program. See
|
A value that does not change during the execution of a program. See
|
||||||
[const](user-defined-types/const.md).
|
[const](user-defined-types/const.md).
|
||||||
@@ -81,8 +69,6 @@ h1#glossary ~ ul > li:first-line {
|
|||||||
- error handling:\
|
- error handling:\
|
||||||
The process of managing and responding to [errors](error-handling.md) that
|
The process of managing and responding to [errors](error-handling.md) that
|
||||||
occur during program execution.
|
occur during program execution.
|
||||||
- exercise:\
|
|
||||||
A task or problem designed to practice and test programming skills.
|
|
||||||
- function:\
|
- function:\
|
||||||
A reusable block of code that performs a specific task. See
|
A reusable block of code that performs a specific task. See
|
||||||
[Functions](control-flow-basics/functions.md).
|
[Functions](control-flow-basics/functions.md).
|
||||||
@@ -99,9 +85,6 @@ h1#glossary ~ ul > li:first-line {
|
|||||||
- integration test:\
|
- integration test:\
|
||||||
A type of test that verifies the interactions between different parts or
|
A type of test that verifies the interactions between different parts or
|
||||||
components of a system. See [Other Types of Tests](testing/other.md).
|
components of a system. See [Other Types of Tests](testing/other.md).
|
||||||
- keyword:\
|
|
||||||
A reserved word in a programming language that has a specific meaning and
|
|
||||||
cannot be used as an identifier.
|
|
||||||
- library:\
|
- library:\
|
||||||
A collection of precompiled routines or code that can be used by programs. See
|
A collection of precompiled routines or code that can be used by programs. See
|
||||||
[Modules](modules.md).
|
[Modules](modules.md).
|
||||||
@@ -139,21 +122,11 @@ h1#glossary ~ ul > li:first-line {
|
|||||||
- panic:\
|
- panic:\
|
||||||
An unrecoverable error condition in Rust that results in the termination of
|
An unrecoverable error condition in Rust that results in the termination of
|
||||||
the program. See [Panics](error-handling/panics.md).
|
the program. See [Panics](error-handling/panics.md).
|
||||||
- parameter:\
|
|
||||||
A value that is passed into a
|
|
||||||
[function or method](control-flow-basics/functions.md) when it is called.
|
|
||||||
- pattern:\
|
- pattern:\
|
||||||
A combination of values, literals, or structures that can be matched against
|
A combination of values, literals, or structures that can be matched against
|
||||||
an expression in Rust. See [Pattern Matching](pattern-matching.md).
|
an expression in Rust. See [Pattern Matching](pattern-matching.md).
|
||||||
- payload:\
|
- payload:\
|
||||||
The data or information carried by a message, event, or data structure.
|
The data or information carried by a message, event, or data structure.
|
||||||
- program:\
|
|
||||||
A set of instructions that a computer can execute to perform a specific task
|
|
||||||
or solve a particular problem. See
|
|
||||||
[Hello, World](types-and-values/hello-world.md).
|
|
||||||
- programming language:\
|
|
||||||
A formal system used to communicate instructions to a computer, such as
|
|
||||||
[Rust](hello-world/what-is-rust.md).
|
|
||||||
- receiver:\
|
- receiver:\
|
||||||
The first parameter in a Rust [method](methods-and-traits/methods.md) that
|
The first parameter in a Rust [method](methods-and-traits/methods.md) that
|
||||||
represents the instance on which the method is called.
|
represents the instance on which the method is called.
|
||||||
@@ -161,18 +134,9 @@ h1#glossary ~ ul > li:first-line {
|
|||||||
A memory management technique in which the number of references to an object
|
A memory management technique in which the number of references to an object
|
||||||
is tracked, and the object is deallocated when the count reaches zero. See
|
is tracked, and the object is deallocated when the count reaches zero. See
|
||||||
[Rc](smart-pointers/rc.md).
|
[Rc](smart-pointers/rc.md).
|
||||||
- return:\
|
|
||||||
A keyword in Rust used to indicate the value to be returned from a
|
|
||||||
[function](control-flow-basics/functions.md).
|
|
||||||
- Rust:\
|
- Rust:\
|
||||||
A systems programming language that focuses on safety, performance, and
|
A systems programming language that focuses on safety, performance, and
|
||||||
concurrency. See [What is Rust?](hello-world/what-is-rust.md).
|
concurrency. See [What is Rust?](hello-world/what-is-rust.md).
|
||||||
- Rust Fundamentals:\
|
|
||||||
Days 1 to 4 of this course. See [Welcome to Day 1](welcome-day-1.md).
|
|
||||||
- Rust in Android:\
|
|
||||||
See [Rust in Android](android.md).
|
|
||||||
- Rust in Chromium:\
|
|
||||||
See [Rust in Chromium](chromium.md).
|
|
||||||
- safe:\
|
- safe:\
|
||||||
Refers to code that adheres to Rust's ownership and borrowing rules,
|
Refers to code that adheres to Rust's ownership and borrowing rules,
|
||||||
preventing memory-related errors. See [Unsafe Rust](unsafe-rust.md).
|
preventing memory-related errors. See [Unsafe Rust](unsafe-rust.md).
|
||||||
|
|||||||
Reference in New Issue
Block a user