diff --git a/docs/docs/noir/concepts/data_types/fields.md b/docs/docs/noir/concepts/data_types/fields.md index b5af20f7d7e..c339e3d05e4 100644 --- a/docs/docs/noir/concepts/data_types/fields.md +++ b/docs/docs/noir/concepts/data_types/fields.md @@ -132,7 +132,7 @@ example: ```rust fn main() { let field = 2 - field.assert_max_bit_size(32); + field.assert_max_bit_size::<32>(); } ```