You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't really a bug, more like a small annoyance, but given the superb quality of this crate I figured I'd report it anyway... :)
On recent nightly (rustc 1.62.0-nightly (34a6c9f26 2022-04-13)), the generated code produces a compiler warning:
warning: unused doc comment
--> crates/blimp_mpc/path_follow/icasadi_path_follow/src/lib.rs:33:1
|
33 | /// C interface (Function API exactly as provided by CasADi)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
34 | / extern "C" {
35 | | fn cost_function_path_follow(
36 | | arg: *const *const c_double,
37 | | casadi_results: *mut *mut c_double) -> c_int;
... |
49 | | ) -> c_int;
50 | | } // END of extern C
| |_- rustdoc does not generate documentation for extern block
|
= note: `#[warn(unused_doc_comments)]` on by default
= help: use `//` for a plain comment
The corresponding generated code block is:
/// C interface (Function API exactly as provided by CasADi)extern"C"{fncost_function_path_follow(arg:*const*constc_double,casadi_results:*mut*mutc_double) -> c_int;fngrad_cost_function_path_follow(arg:*const*constc_double,casadi_results:*mut*mutc_double)
-> c_int;fnmapping_f1_function_path_follow(arg:*const*constc_double,casadi_results:*mut*mutc_double,) -> c_int;fnmapping_f2_function_path_follow(arg:*const*constc_double,casadi_results:*mut*mutc_double,) -> c_int;}// END of extern C
Thanks,
Michael
The text was updated successfully, but these errors were encountered:
Dear all,
This isn't really a bug, more like a small annoyance, but given the superb quality of this crate I figured I'd report it anyway... :)
On recent nightly (rustc 1.62.0-nightly (34a6c9f26 2022-04-13)), the generated code produces a compiler warning:
The corresponding generated code block is:
Thanks,
Michael
The text was updated successfully, but these errors were encountered: