diff --git a/src/api/custom_syntax.rs b/src/api/custom_syntax.rs
index 978ba920..b7c1f48b 100644
--- a/src/api/custom_syntax.rs
+++ b/src/api/custom_syntax.rs
@@ -331,7 +331,7 @@ impl Engine {
///
/// The implementation function has the following signature:
///
- /// > `Fn(symbols: &[ImmutableString], look_ahead: &str) -> Result