From 0363f3c6f3017e8340ec466ef615a4bb9a08baec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E9=91=AB?= <1781189926@qq.com> Date: Sun, 10 May 2020 20:35:21 +0800 Subject: [PATCH] mem.eql need slice type --- doc/langref.html.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 00f82cd37..5bf91ca70 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -1565,7 +1565,7 @@ value == null{#endsyntax#} const array1 = [_]u32{1,2}; const array2 = [_]u32{3,4}; const together = array1 ++ array2; -mem.eql(u32, together, &[_]u32{1,2,3,4}){#endsyntax#} +mem.eql(u32, &together, &[_]u32{1,2,3,4}){#endsyntax#}