diff options
| author | Matthew Kraai <kraai@ftbfs.org> | 2019-12-28 07:05:44 -0800 |
|---|---|---|
| committer | Matthew Kraai <kraai@ftbfs.org> | 2019-12-28 07:05:44 -0800 |
| commit | 9ec924c97df970be1d7992df74206c149490b066 (patch) | |
| tree | 4eeae14c50554fb970f980651ba9f332898f2e82 | |
| parent | f564c4db0d97eabd7fdd72e589d3e415790ee2a4 (diff) | |
| download | rust-9ec924c97df970be1d7992df74206c149490b066.tar.gz rust-9ec924c97df970be1d7992df74206c149490b066.zip | |
Change "be returning" to "return"
| -rw-r--r-- | src/librustc_mir/borrow_check/universal_regions.rs | 2 | ||||
| -rw-r--r-- | src/libstd/env.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_mir/borrow_check/universal_regions.rs b/src/librustc_mir/borrow_check/universal_regions.rs index 141289bd2b2..4e3aa4c65b6 100644 --- a/src/librustc_mir/borrow_check/universal_regions.rs +++ b/src/librustc_mir/borrow_check/universal_regions.rs @@ -5,7 +5,7 @@ //! fn foo<'a, 'b, 'c: 'b>() { } //! ``` //! -//! here we would be returning a map assigning each of `{'a, 'b, 'c}` +//! here we would return a map assigning each of `{'a, 'b, 'c}` //! to an index, as well as the `FreeRegionMap` which can compute //! relationships between them. //! diff --git a/src/libstd/env.rs b/src/libstd/env.rs index 60facd9f8d4..13fe3bda525 100644 --- a/src/libstd/env.rs +++ b/src/libstd/env.rs @@ -6,7 +6,7 @@ //! //! There are several functions and structs in this module that have a //! counterpart ending in `os`. Those ending in `os` will return an [`OsString`] -//! and those without will be returning a [`String`]. +//! and those without will return a [`String`]. //! //! [`OsString`]: ../../std/ffi/struct.OsString.html //! [`String`]: ../string/struct.String.html |
