about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDr. Koutheir Attouchi <koutheir@gmail.com>2020-08-21 14:47:18 -0400
committerGitHub <noreply@github.com>2020-08-21 14:47:18 -0400
commitec9657aec6e0d341e2e32f2ca3cc1d8a508a5415 (patch)
tree205b4e7ab258296cf1165693e74bd7fb09d4863d /src
parent5673b0e49219291acfb1c52f0c3119d266ef5ce9 (diff)
downloadrust-ec9657aec6e0d341e2e32f2ca3cc1d8a508a5415.tar.gz
rust-ec9657aec6e0d341e2e32f2ca3cc1d8a508a5415.zip
Fixed a typo
Diffstat (limited to 'src')
-rw-r--r--src/doc/unstable-book/src/compiler-flags/control-flow-guard.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/unstable-book/src/compiler-flags/control-flow-guard.md b/src/doc/unstable-book/src/compiler-flags/control-flow-guard.md
index 901c053877d..03065f5a907 100644
--- a/src/doc/unstable-book/src/compiler-flags/control-flow-guard.md
+++ b/src/doc/unstable-book/src/compiler-flags/control-flow-guard.md
@@ -21,7 +21,7 @@ CFG functionality is completely implemented in the LLVM backend and is supported
 
 The primary motivation for enabling CFG in Rust is to enhance security when linking against non-Rust code, especially C/C++ code. To achieve full CFG protection, all indirect calls (including any from Rust code) must have the appropriate CFG checks, as added by this flag. CFG can also improve security for Rust code that uses the `unsafe` keyword.
 
-Another motivation behind CFG is to harden programs against [return-oriented programming (ROP)](https://en.wikipedia.org/wiki/Return-oriented_programming) attacks. CFG disallows an attacker from taking advantage of the programs own instructions while redirecting control flow in unexpected ways.
+Another motivation behind CFG is to harden programs against [return-oriented programming (ROP)](https://en.wikipedia.org/wiki/Return-oriented_programming) attacks. CFG disallows an attacker from taking advantage of the program's own instructions while redirecting control flow in unexpected ways.
 
 ## Overhead of Control Flow Guard