From 505678c3a2daad47b98eeba9678643e5f609153d Mon Sep 17 00:00:00 2001 From: Meadow Liu Date: Mon, 19 Aug 2024 13:51:09 -0700 Subject: [PATCH] changed wording a little bit on memory-usage feature's description --- README.md | 2 +- scripts/src/bin/gen-features.rs | 2 +- src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cd5f596e1..6ee83015b 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ reminder: **Unstable features are NOT covered by semver!** - **`iter`** - Iterator utilities - **`lsl`** - Experimental lib to help with writing Second Life scripts in Rust... because yes, I got fed up with it very quickly and immediately missed Rust lol - **`mcu`** - [Material colour utilities](https://github.com/material-foundation/material-color-utilities) -- **`memory-usage`** - Calculate actual memory usage of Rust structs, including derive macro for custom types (not the same as `size_of::()`) +- **`memory-usage`** - Calculate actual memory usage of values, including derive macro (not the same as `size_of::()`) - **`minesweeper`** - Core logic components for minesweeper games of arbitrary size - **`num-traits`** - More traits for numbers and their various functionality, including things like [`MulWidening`] - **`path`** - UTF-8 only path manipulation utilities written from scratch diff --git a/scripts/src/bin/gen-features.rs b/scripts/src/bin/gen-features.rs index e4ad1d894..93dcb904d 100644 --- a/scripts/src/bin/gen-features.rs +++ b/scripts/src/bin/gen-features.rs @@ -131,7 +131,7 @@ fn main() { #[unstable] "memory-usage" - "Calculate actual memory usage of Rust structs, including derive macro for custom types (not the same as `size_of::()`)" + "Calculate actual memory usage of values, including derive macro (not the same as `size_of::()`)" dependencies: ["macro"] #[unstable] diff --git a/src/lib.rs b/src/lib.rs index a2b746542..06496497b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -273,7 +273,7 @@ pub mod mcu; #[cfg(feature = "memory-usage-unstable")] #[cfg_attr(docsrs, doc(cfg(feature = "memory-usage-unstable")))] -/// Calculate actual memory usage of Rust structs, including derive macro for custom types (not the same as `size_of::()`) +/// Calculate actual memory usage of values, including derive macro (not the same as `size_of::()`) #[doc = ""] #[doc = include_str!("./memory_usage/README.md")] pub mod memory_usage;