mirror of https://github.com/sunface/rust-course
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
628 B
5 lines
628 B
# 断言assertion
|
|
https://www.google.com.hk/search?q=rust+assert+macro&newwindow=1&client=safari&sxsrf=APq-WBtidMow1TLUvzpHJxIuW7po5PB_5Q%3A1644807257219&source=hp&ei=WcQJYqu2C7LomAWnz7qoDg&iflsig=AHkkrS4AAAAAYgnSaUUP-vysZx6WmwbNWnkjGKk2nbbN&oq=rust+asser%21+mac&gs_lcp=Cgdnd3Mtd2l6EAMYADIECAAQDTIICAAQCBANEB4yCAgAEAgQDRAeOgQIIxAnOgUIABCABDoLCC4QgAQQxwEQ0QM6DgguEIAEEMcBEKMCENQCOggILhCABBDUAjoLCC4QgAQQxwEQowI6BQguEIAEOgUILhDLAToFCAAQywE6BggAEA0QHlAAWM0iYMAuaAJwAHgBgAGYAogBnBeSAQYwLjEwLjeYAQCgAQE&sclient=gws-wiz
|
|
|
|
https://svartalf.info/posts/2020-03-13-assertion-macros-for-rust/
|
|
https://doc.rust-lang.org/std/macro.assert.html |