From 375d751bfaf98ba1faaa70cd299e801f373f085c Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Mon, 27 May 2024 13:39:39 +0800 Subject: [PATCH] Fix typos Found via `typos --format brief` --- CHANGELOG.md | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7920b5c..c5bfbd7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -249,7 +249,7 @@ enforced with stricter formal visibility. ## 2.5.2 (27 December 2021) -* When `Module#autoload` triggers the autovivification of an implicit namespace, `$LOADED_FEATURES` now gets the correspoding directory pushed. This is just a tweak to Zeitwerk's `Kernel#require` decoration. That way it acts more like the original, and cooperates better with other potential `Kernel#require` wrappers, like Bootsnap's. +* When `Module#autoload` triggers the autovivification of an implicit namespace, `$LOADED_FEATURES` now gets the corresponding directory pushed. This is just a tweak to Zeitwerk's `Kernel#require` decoration. That way it acts more like the original, and cooperates better with other potential `Kernel#require` wrappers, like Bootsnap's. ## 2.5.1 (20 October 2021) @@ -536,7 +536,7 @@ enforced with stricter formal visibility. ## 1.3.4 (14 March 2019) -* Files shadowed by previous occurrences defining the same constant path were being correctly skipped when autoloading, but not when eager loading. This has been fixed. This mimicks what happens when there are two files in `$LOAD_PATH` with the same relative name, only the first one is loaded by `require`. +* Files shadowed by previous occurrences defining the same constant path were being correctly skipped when autoloading, but not when eager loading. This has been fixed. This mimics what happens when there are two files in `$LOAD_PATH` with the same relative name, only the first one is loaded by `require`. ## 1.3.3 (12 March 2019) diff --git a/README.md b/README.md index 2b61aca..71f4246 100644 --- a/README.md +++ b/README.md @@ -1065,7 +1065,7 @@ However, sometimes it might still be convenient to tell Zeitwerk to completely i You can ignore file names, directory names, and glob patterns. Glob patterns are expanded when they are added and again on each reload. -There is an edge case related to nested root directories. Conceptually, root directories are independent source trees. If you ignore a parent of a nested root directory, the nested root directory is not affected. You need to ignore it explictly if you want it ignored too. +There is an edge case related to nested root directories. Conceptually, root directories are independent source trees. If you ignore a parent of a nested root directory, the nested root directory is not affected. You need to ignore it explicitly if you want it ignored too. Let's see some use cases.