Skip to content

Commit 528343f

Browse files
committed
Comment fixes.
Remove an out-of-date sentence, and fix a typo.
1 parent 18f8495 commit 528343f

File tree

1 file changed

+1
-2
lines changed
  • compiler/rustc_builtin_macros/src/deriving/generic

1 file changed

+1
-2
lines changed

compiler/rustc_builtin_macros/src/deriving/generic/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
//!
6767
//! # "`cs`" functions
6868
//!
69-
//! The `cs_...` functions ("combine substructure) are designed to
69+
//! The `cs_...` functions ("combine substructure") are designed to
7070
//! make life easier by providing some pre-made recipes for common
7171
//! threads; mostly calling the function being derived on all the
7272
//! arguments and then combining them back together in some way (or
@@ -1643,7 +1643,6 @@ where
16431643
/// fields.
16441644
/// When the `substructure` is an `EnumNonMatchingCollapsed`, the result of `enum_nonmatch_f`
16451645
/// is returned. Statics may not be folded over.
1646-
/// See `cs_op` in `partial_ord.rs` for a model example.
16471646
pub fn cs_fold1<F, B>(
16481647
use_foldl: bool,
16491648
f: F,

0 commit comments

Comments
 (0)