Remove small pieces of unused code
This commit is contained in:
parent
ce6ca13b13
commit
dd31b870c3
10 changed files with 6 additions and 31 deletions
|
@ -1,11 +1,6 @@
|
|||
use rand::prelude::*;
|
||||
use std::cmp::Ordering;
|
||||
|
||||
pub fn pre_inc(value: &mut usize) -> usize {
|
||||
*value += 1;
|
||||
*value
|
||||
}
|
||||
|
||||
pub fn post_inc(value: &mut usize) -> usize {
|
||||
let prev = *value;
|
||||
*value += 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue