about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorPhilipp Hansch <dev@phansch.net>2020-02-25 07:05:55 +0100
committerWho? Me?! <mark-i-m@users.noreply.github.com>2020-02-25 22:39:16 -0600
commit7808e6e1d8678fbea44dbcdf97f954e6818fbe6d (patch)
tree36d7ca8078249b14a9d9a75ca484ea97563ee041 /src/doc/rustc-dev-guide
parent9c864111332a205c1f837a3a350680e1cf19b9e8 (diff)
downloadrust-7808e6e1d8678fbea44dbcdf97f954e6818fbe6d.tar.gz
rust-7808e6e1d8678fbea44dbcdf97f954e6818fbe6d.zip
typo: eg. -> e.g.
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/name-resolution.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/name-resolution.md b/src/doc/rustc-dev-guide/src/name-resolution.md
index c7bf5d11136..3507d4d8845 100644
--- a/src/doc/rustc-dev-guide/src/name-resolution.md
+++ b/src/doc/rustc-dev-guide/src/name-resolution.md
@@ -37,7 +37,7 @@ The name resolution lives in the `librustc_resolve` crate, with the meat in
 
 ## Namespaces
 
-Different kind of symbols live in different namespaces ‒ eg. types don't
+Different kind of symbols live in different namespaces ‒ e.g. types don't
 clash with variables. This usually doesn't happen, because variables start with
 lower-case letter while types with upper case one, but this is only a
 convention. This is legal Rust code that'll compile (with warnings):
@@ -99,7 +99,7 @@ fn do_something<T: Default>(val: T) { // <- New rib in both types and values (1)
 
 Because the rules for different namespaces are a bit different, each namespace
 has its own independent rib stack that is constructed in parallel to the others.
-In addition, there's also a rib stack for local labels (eg. names of loops or
+In addition, there's also a rib stack for local labels (e.g. names of loops or
 blocks), which isn't a full namespace in its own right.
 
 ## Overall strategy
@@ -129,7 +129,7 @@ Still, it probably provides useful first guidepost to what happens in there.
   following stages of compilation?
 * Who calls it and how it is actually used.
 * Is it a pass and then the result is only used, or can it be computed
-  incrementally (eg. for RLS)?
+  incrementally (e.g. for RLS)?
 * The overall strategy description is a bit vague.
 * Where does the name `Rib` come from?
 * Does this thing have its own tests, or is it tested only as part of some e2e