mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-21 13:39:56 +00:00
chore: lint fixes acc to rustfmt
This commit is contained in:
@@ -753,7 +753,7 @@ pub struct CcxOptions {
|
||||
}
|
||||
|
||||
fn get_raw_string(str: &str) -> *mut i8 {
|
||||
CString::new(str.clone()).unwrap().into_raw()
|
||||
CString::new(str).unwrap().into_raw()
|
||||
}
|
||||
|
||||
fn get_raw_strings(strs: Vec<String>) -> *mut *mut i8 {
|
||||
|
||||
@@ -441,13 +441,13 @@ impl PenStyle {
|
||||
};
|
||||
|
||||
let color = PenColor {
|
||||
/// White(2,2,2) i.e 10,10,10 i.e 42
|
||||
// White(2,2,2) i.e 10,10,10 i.e 42
|
||||
fg_color: 42,
|
||||
fg_opacity: Opacity::Solid,
|
||||
/// Either N/A or black, still always 0
|
||||
// Either N/A or black, still always 0
|
||||
bg_color: 0,
|
||||
bg_opacity,
|
||||
/// Either N/A or black, still always 0
|
||||
// Either N/A or black, still always 0
|
||||
edge_color: 0,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user