Skip to content

Commit cece42d

Browse files
authored
Update README.MD
1 parent e65a00d commit cece42d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This is a fork of the [rusty_cmake](https://github.com/trondhe/rusty_cmake) repo
88
- Simplify by using a simple one CMakeLists file for the project.
99

1010
### Code examples to call Rust functions from C++:
11-
- [Example of using a different primitive types](https://github.com/geekbrother/cxx-corrosion-cmake/blob/2a981b2ec34ee4d4ffe261b1be07691f74c31a04/src/main.cpp#L8) for arguments and returns.
11+
- [Example of using a different primitive types](https://github.com/geekbrother/cxx-corrosion-cmake/blob/main/src/main.cpp) for arguments and returns.
1212
- Example of using [Rust Result type](https://cxx.rs/binding/result.html#returning-result-from-rust-to-c) and [Anyhow](https://docs.rs/anyhow/latest/anyhow/).
1313
- [Example of using panics](https://github.com/geekbrother/cxx-corrosion-cmake/blob/2a981b2ec34ee4d4ffe261b1be07691f74c31a04/src/main.cpp#L15) in Rust + C++.
1414

0 commit comments

Comments
 (0)