1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-11-28 00:39:01 +02:00

Cleanup glossary (#2950)

Co-authored-by: Martin Geisler <martin.geisler@proton.ch>
This commit is contained in:
Martin Geisler
2025-10-30 10:30:08 +01:00
committed by GitHub
parent 6e862543d2
commit 4d8bfaa55e

View File

@@ -30,9 +30,6 @@ h1#glossary ~ ul > li:first-line {
- allocate:\
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:\
A type associated with a specific trait. Useful for defining the relationship
between types.
@@ -49,20 +46,11 @@ h1#glossary ~ ul > li:first-line {
- brace:\
`{` and `}`. Also called _curly brace_, they delimit
[_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:\
Used to safely pass messages [between threads](concurrency/channels.md).
- Comprehensive Rust 🦀:\
The courses here are jointly called Comprehensive Rust 🦀.
- concurrency:\
The execution of multiple tasks or processes at the same time. See
[Welcome to Concurrency in Rust](concurrency/welcome.md).
- Concurrency in Rust:\
See [Concurrency in Rust](concurrency/welcome.md).
- constant:\
A value that does not change during the execution of a program. See
[const](user-defined-types/const.md).
@@ -81,8 +69,6 @@ h1#glossary ~ ul > li:first-line {
- error handling:\
The process of managing and responding to [errors](error-handling.md) that
occur during program execution.
- exercise:\
A task or problem designed to practice and test programming skills.
- function:\
A reusable block of code that performs a specific task. See
[Functions](control-flow-basics/functions.md).
@@ -99,9 +85,6 @@ h1#glossary ~ ul > li:first-line {
- integration test:\
A type of test that verifies the interactions between different parts or
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:\
A collection of precompiled routines or code that can be used by programs. See
[Modules](modules.md).
@@ -139,21 +122,11 @@ h1#glossary ~ ul > li:first-line {
- panic:\
An unrecoverable error condition in Rust that results in the termination of
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:\
A combination of values, literals, or structures that can be matched against
an expression in Rust. See [Pattern Matching](pattern-matching.md).
- payload:\
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:\
The first parameter in a Rust [method](methods-and-traits/methods.md) that
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
is tracked, and the object is deallocated when the count reaches zero. See
[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:\
A systems programming language that focuses on safety, performance, and
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:\
Refers to code that adheres to Rust's ownership and borrowing rules,
preventing memory-related errors. See [Unsafe Rust](unsafe-rust.md).