mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fix issues found by rust-clippy
This commit is contained in:
parent
6303126e0c
commit
20beaf5af3
23 changed files with 106 additions and 121 deletions
|
@ -257,7 +257,7 @@ pub struct DebugOptions {
|
|||
|
||||
|
||||
impl DebugOptions {
|
||||
pub fn new<'a>(debug_string: &'a str) -> Result<DebugOptions, &'a str> {
|
||||
pub fn new(debug_string: &str) -> Result<DebugOptions, &str> {
|
||||
let mut debug_options = DebugOptions::default();
|
||||
|
||||
for option in debug_string.split(',') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue