Skip to content

Commit

Permalink
Merge pull request #177 from ImmemorConsultrixContrarie/foldr_doc_fix
Browse files Browse the repository at this point in the history
Foldr doc fix
  • Loading branch information
ExpHP authored Apr 22, 2021
2 parents a1f4383 + 9747b2a commit d586e62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/hlist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -551,12 +551,12 @@ macro_rules! gen_inherent_methods {
/// * Substitute each [`h_cons`] with a function,
/// and substitute [`HNil`] with `init`
///
/// ```ignore
/// ```text
/// the list:
/// h_cons(x1, h_cons(x2, h_cons(x3, ...h_cons(xN, HNil))...)))
/// h_cons(x1, h_cons(x2, h_cons(x3, ...h_cons(xN, HNil)...)))
///
/// becomes:
/// f1( x1, f2( x2, f3( x3, ... fN( xN, init))...)))
/// f1( x1, f2( x2, f3( x3, ... fN( xN, init)...)))
/// ```
///
/// [`HNil`]: struct.HNil.html
Expand Down

0 comments on commit d586e62

Please sign in to comment.