Add main() so that examples work
Rustdoc will automatically wrap things in main, but this doesn't work here. Fixes #31249
Showing
想要评论请 注册 或 登录
Rustdoc will automatically wrap things in main, but this doesn't work here. Fixes #31249