Update custom-type.md

pull/333/head
Jesse 3 years ago committed by GitHub
parent 29996d759e
commit 231491e09c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -285,5 +285,5 @@ error[E0277]: the size for values of type `str` cannot be known at compilation t
= note: all function arguments must have a statically known size = note: all function arguments must have a statically known size
``` ```
提示很清晰,不知道 `str` 的大小,因此无法对其使用 `Box` 进行封装。 提示很清晰,不知道 `str` 的大小,因此无法对其使用 `Box` 进行封装。

Loading…
Cancel
Save