From 433cdaae464145a96e8d03f7941f66a3cc5d27e2 Mon Sep 17 00:00:00 2001 From: timofey Date: Sat, 26 Aug 2023 17:38:53 +0000 Subject: [PATCH] fix missing headers --- src/exercises/bind.md | 3 +++ src/exercises/refbind.md | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/exercises/bind.md b/src/exercises/bind.md index c17421c..4cea7f7 100644 --- a/src/exercises/bind.md +++ b/src/exercises/bind.md @@ -1,3 +1,5 @@ +# `bind` + Make this compile and pass tests: ```rust @@ -29,6 +31,7 @@ assert_eq!( ``` Try solving it in the playground: + ```rust,editable,compile_fail fn bind Option>(f: F, fa: Option) -> Option { match fa { diff --git a/src/exercises/refbind.md b/src/exercises/refbind.md index feb5076..4a400db 100644 --- a/src/exercises/refbind.md +++ b/src/exercises/refbind.md @@ -1,3 +1,5 @@ +# `bind`, but with references + Make this compile and pass tests: ```rust