diff options
| author | Alexander Regueiro <alexreg@me.com> | 2019-02-08 14:53:55 +0100 |
|---|---|---|
| committer | Alexander Regueiro <alexreg@me.com> | 2019-02-10 23:42:32 +0000 |
| commit | c3e182cf43aea2c010a1915eb37293a458df2228 (patch) | |
| tree | 225aa2dfceff56d10c0b31f6966fbf7ec5da8180 /src/librustdoc/clean/simplify.rs | |
| parent | 0b7af2668a80fb2fa720a06ca44aff4dd1e9de38 (diff) | |
| download | rust-c3e182cf43aea2c010a1915eb37293a458df2228.tar.gz rust-c3e182cf43aea2c010a1915eb37293a458df2228.zip | |
rustc: doc comments
Diffstat (limited to 'src/librustdoc/clean/simplify.rs')
| -rw-r--r-- | src/librustdoc/clean/simplify.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/clean/simplify.rs b/src/librustdoc/clean/simplify.rs index 31e842b3389..376cf3a2dee 100644 --- a/src/librustdoc/clean/simplify.rs +++ b/src/librustdoc/clean/simplify.rs @@ -1,11 +1,11 @@ -//! Simplification of where clauses and parameter bounds into a prettier and +//! Simplification of where-clauses and parameter bounds into a prettier and //! more canonical form. //! //! Currently all cross-crate-inlined function use `rustc::ty` to reconstruct //! the AST (e.g., see all of `clean::inline`), but this is not always a -//! non-lossy transformation. The current format of storage for where clauses +//! non-lossy transformation. The current format of storage for where-clauses //! for functions and such is simply a list of predicates. One example of this -//! is that the AST predicate of: `where T: Trait<Foo=Bar>` is encoded as: +//! is that the AST predicate of: `where T: Trait<Foo = Bar>` is encoded as: //! `where T: Trait, <T as Trait>::Foo = Bar`. //! //! This module attempts to reconstruct the original where and/or parameter |
