We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba84bf3 commit 7ca801cCopy full SHA for 7ca801c
src/crates/lib.md
@@ -2,6 +2,8 @@
2
3
Let's create a library, and then see how to link it to another crate.
4
5
+In `rary.rs`:
6
+
7
```rust,ignore
8
pub fn public_function() {
9
println!("called rary's `public_function()`");
@@ -29,4 +31,4 @@ crate file, but this default name can be overridden by passing
29
31
the `--crate-name` option to `rustc` or by using the [`crate_name`
30
32
attribute][crate-name].
33
-[crate-name]: ../attribute/crate.md
34
+[crate-name]: ../attribute/crate.md
0 commit comments