]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/hir/map/blocks.rs
Various minor/cosmetic improvements to code
[rust.git] / src / librustc / hir / map / blocks.rs
index 1ab1c7d3fc5c433655b0c807997c5e1cebe26080..40904eaa5db62905b76d2866f0f8e7f8162431fb 100644 (file)
@@ -13,7 +13,7 @@
 //! it captures a common set of attributes that all "function-like
 //! things" (represented by `FnLike` instances) share.  For example,
 //! all `FnLike` instances have a type signature (be it explicit or
-//! inferred).  And all `FnLike` instances have a body, i.e. the code
+//! inferred).  And all `FnLike` instances have a body, i.e., the code
 //! that is run when the function-like thing it represents is invoked.
 //!
 //! With the above abstraction in place, one can treat the program
@@ -34,7 +34,7 @@
 /// More specifically, it is one of either:
 ///
 ///   - A function item,
-///   - A closure expr (i.e. an ExprKind::Closure), or
+///   - A closure expr (i.e., an ExprKind::Closure), or
 ///   - The default implementation for a trait method.
 ///
 /// To construct one, use the `Code::from_node` function.