From cd7b4fc2cce2d56e942e824d6850f121bbcd050d Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Sun, 19 Oct 2025 15:46:48 +0200 Subject: [PATCH 1/2] Remove non-Rust specific terms from the glossary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These terms were originally added to give translations a place to define them. However, on second thought, I don’t think they add value: translations can translate these terms as needed on the course pages. --- src/glossary.md | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/src/glossary.md b/src/glossary.md index ae5c695b4158..686b0b859a0f 100644 --- a/src/glossary.md +++ b/src/glossary.md @@ -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,11 +46,6 @@ 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 🦀:\ @@ -81,8 +73,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 +89,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 +126,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,9 +138,6 @@ 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). From daabc0f507a96f620d1fd77f5ad8361f085ffdd1 Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Sun, 19 Oct 2025 15:48:41 +0200 Subject: [PATCH 2/2] Remove course names from the glossary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I don’t think they bring any value: people will find them as part of the course outline. --- src/glossary.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/glossary.md b/src/glossary.md index 686b0b859a0f..3c5bd7e5513c 100644 --- a/src/glossary.md +++ b/src/glossary.md @@ -48,13 +48,9 @@ h1#glossary ~ ul > li:first-line { [_blocks_](control-flow-basics/blocks-and-scopes.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). @@ -141,12 +137,6 @@ h1#glossary ~ ul > li:first-line { - 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).