about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-06-24 08:31:00 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2022-07-04 10:48:15 +1000
commit528343f93b5a4360dc8c4466e0caf01ffdf4d111 (patch)
treeb1b7fff78bc4cc9bb7f264bdce7aeae1e1c738cc
parent18f84956772a66293ed91d911ff9e56a269dc685 (diff)
downloadrust-528343f93b5a4360dc8c4466e0caf01ffdf4d111.tar.gz
rust-528343f93b5a4360dc8c4466e0caf01ffdf4d111.zip
Comment fixes.
Remove an out-of-date sentence, and fix a typo.
-rw-r--r--compiler/rustc_builtin_macros/src/deriving/generic/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_builtin_macros/src/deriving/generic/mod.rs b/compiler/rustc_builtin_macros/src/deriving/generic/mod.rs
index ff431c8de5d..e8c498ea93e 100644
--- a/compiler/rustc_builtin_macros/src/deriving/generic/mod.rs
+++ b/compiler/rustc_builtin_macros/src/deriving/generic/mod.rs
@@ -66,7 +66,7 @@
 //!
 //! # "`cs`" functions
 //!
-//! The `cs_...` functions ("combine substructure) are designed to
+//! The `cs_...` functions ("combine substructure") are designed to
 //! make life easier by providing some pre-made recipes for common
 //! threads; mostly calling the function being derived on all the
 //! arguments and then combining them back together in some way (or
@@ -1643,7 +1643,6 @@ where
 /// fields.
 /// When the `substructure` is an `EnumNonMatchingCollapsed`, the result of `enum_nonmatch_f`
 /// is returned. Statics may not be folded over.
-/// See `cs_op` in `partial_ord.rs` for a model example.
 pub fn cs_fold1<F, B>(
     use_foldl: bool,
     f: F,