diff --git a/docs/markdown/snippets/rust-bindgen-cpp.md b/docs/markdown/snippets/rust-bindgen-cpp.md index e12e0f966fc1..7d1bec37d6ec 100644 --- a/docs/markdown/snippets/rust-bindgen-cpp.md +++ b/docs/markdown/snippets/rust-bindgen-cpp.md @@ -1,6 +1,6 @@ ## Bindgen will now use Meson's hueristic for what is a C++ header -Bindgen natively assumes that a file with the extension `.cpp` is a C++ header, +Bindgen natively assumes that a file with the extension `.hpp` is a C++ header, but that everything else is a C header. Meson has a whole list of extensions it considers to be C++, and now will automatically look for those extensions and set bindgen to treat those as C++ diff --git a/docs/markdown/snippets/rust-bindgen-std.md b/docs/markdown/snippets/rust-bindgen-std.md index 2c94f9c2ca2c..34ae611fc434 100644 --- a/docs/markdown/snippets/rust-bindgen-std.md +++ b/docs/markdown/snippets/rust-bindgen-std.md @@ -1,3 +1,3 @@ -## Bindgen now uses the same C/C++ as the project as a whole +## Bindgen now uses the same C/C++ std as the project as a whole Which is very important for C++ bindings.