Skip to content

Commit 63a5003

Browse files
committed
Add clarity to name of file being used in library example.
1 parent ba84bf3 commit 63a5003

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/crates/lib.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
Let's create a library, and then see how to link it to another crate.
44

5+
In `rary.rs`:
56
```rust,ignore
67
pub fn public_function() {
78
println!("called rary's `public_function()`");
@@ -29,4 +30,4 @@ crate file, but this default name can be overridden by passing
2930
the `--crate-name` option to `rustc` or by using the [`crate_name`
3031
attribute][crate-name].
3132

32-
[crate-name]: ../attribute/crate.md
33+
[crate-name]: ../attribute/crate.md

0 commit comments

Comments
 (0)