mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-14 16:35:01 +01:00
things
This commit is contained in:
parent
a9e488f3e3
commit
0f05ef625a
11 changed files with 153 additions and 70 deletions
|
|
@ -4,7 +4,3 @@
|
|||
name = "hello-world"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
fn unused() {}
|
||||
|
||||
fn main() {
|
||||
unused();
|
||||
fn unused() {
|
||||
loop {}
|
||||
}
|
||||
fn main() {
|
||||
loop {}
|
||||
}
|
||||
|
||||
mod other;
|
||||
|
|
|
|||
3
test-cases/unused-code/src/other.rs
Normal file
3
test-cases/unused-code/src/other.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fn unused() {
|
||||
loop {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue