From 40cefb2ff08d0e872408c8218b5d4d22d2c5ba11 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sat, 9 May 2020 11:44:18 +0530 Subject: add missing syntax highlighting --- posts/auto-currying_rust_functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'posts/auto-currying_rust_functions.md') diff --git a/posts/auto-currying_rust_functions.md b/posts/auto-currying_rust_functions.md index 170fd31..8f60216 100644 --- a/posts/auto-currying_rust_functions.md +++ b/posts/auto-currying_rust_functions.md @@ -150,7 +150,7 @@ function pointers is beyond the scope of this post. Armed with knowledge, we refine our expected output, this time, employing closures: -``` +```rust fn add(x: u32) -> impl Fn(u32) -> impl Fn(u32) -> u32 { return move |y| move |z| x + y + z; } -- cgit v1.2.3