diff --git a/book/contents/basic/trait/generic.md b/book/contents/basic/trait/generic.md index 2c6bab58..77fe591d 100644 --- a/book/contents/basic/trait/generic.md +++ b/book/contents/basic/trait/generic.md @@ -356,7 +356,7 @@ fn main() { ```rust #![allow(incomplete_features)] #![feature(generic_const_exprs)] -(这段代码编译不通过,第13行报错,这里泛型的声明好像没有体现出const) +(这段代码编译不通过,Assert处报错,这里泛型的声明好像没有体现出const) fn something(val: T) where Assert<{ core::mem::size_of::() < 768 }>: IsTrue,