Skip to content

Commit

Permalink
String::from("") to String::default()
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Carow authored and Kyle Carow committed Nov 30, 2023
1 parent dff05f8 commit 83a9e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/fastsim-cli/src/bin/fastsim-cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ pub fn main() -> anyhow::Result<()> {
mps: array![0.0],
grade: array![0.0],
road_type: array![0.0],
name: String::from(""),
name: String::default(),
orphaned: false,
})
}?;
Expand Down

0 comments on commit 83a9e0a

Please sign in to comment.