]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Fix a few typos in the settings files 14585/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 26 Aug 2024 15:53:02 +0000 (17:53 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 26 Aug 2024 15:53:02 +0000 (17:53 +0200)
pdns/recursordist/settings/README.md
pdns/recursordist/settings/generate.py

index 9d86c6d8271dc1137f88403f2753d006777f3e9c..b8d7ab5190f9cc55f4263bb15f46012f023bae06 100644 (file)
@@ -6,10 +6,10 @@ Inside this directory, there is a `rust` subdirectory that contains the Rust cod
 The Rust code uses CXX for bridging between C++ and Rust.
 At the moment of writing, we only call Rust code from C++ and not vice versa.
 
-Additionally, the Rust Serde crate (and specifically Serde-YAML) is used to generatec code to handle YAML.
+Additionally, the Rust Serde crate (and specifically Serde-YAML) is used to generate code to handle YAML.
 
 The entry point for code generation is `generate.py`, which uses `table.py` to produce C++, Rust and .rst files.
-See `generate.sh` for some details about the generation process.
+See `generate.py` for some details about the generation process.
 This directory also contains a couple of `*-in.*` files which are included into files generated by the generation process.
 
 From the C++ point of view, several namespaces are defined:
index f6d85ea483c94f6acae7a97fee95e91a74466680..6cffa922ea50db35789a452c1c9c4ad18132f0cd 100644 (file)
@@ -5,7 +5,7 @@
 #
 # For Rust it generates rust/src/lib.rs, containing the structs with
 # CXX and Serde annotations and associated code. rust-preamble-in.rs is
-# included before the generated code and rus-bridge-in.rs inside the
+# included before the generated code and rust-bridge-in.rs inside the
 # bridge module in the generated lib.rs. Header files generated by CXX
 # (lib.rs.h and cxx.h) are copied from deep inside the generated code
 # hierarchy into the rust subdir as well.
@@ -763,7 +763,7 @@ def gen_newstyle_docs(srcdir, argentries):
 RUNTIME = '*runtime determined*'
 
 def generate():
-    """Read table, validate and generate C++, Rst and .rst files"""
+    """Read table, validate and generate C++, Rust and .rst files"""
     srcdir = '.'
     gendir = '.'
     if len(sys.argv) == 3: