mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
Remove debug crate I used to fix this problem
This commit is contained in:
parent
c2c4c8796d
commit
2891589652
13
src/list.rs
13
src/list.rs
|
@ -50,19 +50,6 @@ impl PreviewWindowState {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
use std::fs::OpenOptions;
|
|
||||||
use std::io::Write;
|
|
||||||
|
|
||||||
fn log_debug_info(info: &str) {
|
|
||||||
let mut file = OpenOptions::new()
|
|
||||||
.append(true)
|
|
||||||
.create(true)
|
|
||||||
.open("debug.log")
|
|
||||||
.unwrap();
|
|
||||||
|
|
||||||
writeln!(file, "{}", info).unwrap();
|
|
||||||
}
|
|
||||||
|
|
||||||
impl CustomList {
|
impl CustomList {
|
||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
// When a function call ends with an exclamation mark, it means it's a macro, like in this
|
// When a function call ends with an exclamation mark, it means it's a macro, like in this
|
||||||
|
|
Loading…
Reference in New Issue
Block a user