You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
415 B
Markdown
25 lines
415 B
Markdown
4 years ago
|
# Docs for integ-test-example crate
|
||
|
|
||
|
This is a project to test `rustdoc`.
|
||
|
|
||
|
[Here is a link!](https://www.rust-lang.org)
|
||
|
|
||
|
## Function signature
|
||
|
|
||
|
pub fn get_process_id() -> u32 {}
|
||
|
|
||
|
This function returns the process id of the current running executable
|
||
|
|
||
|
## Example
|
||
|
|
||
|
```rust
|
||
|
|
||
|
use integ_test_example;
|
||
|
|
||
|
fn get_id() {
|
||
|
let my_pid = get_process_id();
|
||
|
println!("Process id for current process is: {}", my_pid);
|
||
|
}
|
||
|
|
||
|
```
|