pgbackrest.git / summary / log / commit / refs
commit 20162ed3feec8d3de5de8e2cca7bb065a47bcc67
Author: David Fetter <david@fetter.org>
Commit: David Steele <david@pgmasters.net>
Date: Tue Nov 19 15:32:18 2019 +0000
Fix typo.
CODING.md | 2 +-
doc/xml/coding.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/CODING.md b/CODING.md
index a58619dd5..2364a2250 100644
--- a/CODING.md
+++ b/CODING.md
@@ -214,7 +214,7 @@ If the majority of functions in a module or object are variadic it is best to pr
#### Uncoverable Code
-The `uncoverable` keyword marks code that can never be covered. For instance, a function that never returns because it always throws a error. Uncoverable code should be rare to non-existent outside the common libraries and test code.
+The `uncoverable` keyword marks code that can never be covered. For instance, a function that never returns because it always throws an error. Uncoverable code should be rare to non-existent outside the common libraries and test code.
```c
} // {uncoverable - function throws error so never returns}
```
diff --git a/doc/xml/coding.xml b/doc/xml/coding.xml
index e37d3e6eb..ce3c28c9c 100644
--- a/doc/xml/coding.xml
+++ b/doc/xml/coding.xml
@@ -290,7 +290,7 @@ storagePathCreateP(storageLocal(), "/tmp/pgbackrest", .errorOnExists = true, .mo
<section id="uncoverable">
<title>Uncoverable Code</title>
- <p>The <id>uncoverable</id> keyword marks code that can never be covered. For instance, a function that never returns because it always throws a error. Uncoverable code should be rare to non-existent outside the common libraries and test code.</p>
+ <p>The <id>uncoverable</id> keyword marks code that can never be covered. For instance, a function that never returns because it always throws an error. Uncoverable code should be rare to non-existent outside the common libraries and test code.</p>
<code-block type="c">
} // {uncoverable - function throws error so never returns}
[parent: 74317f0ab602]