Skip to content

Commit

Permalink
Remove unnecessary clone
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Jan 3, 2024
1 parent 2a6377f commit 182bbbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ruff_notebook/src/notebook.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ impl Notebook {
if id.is_none() {
loop {
// https://github.com/jupyter/enhancement-proposals/blob/master/62-cell-id/cell-id.md#questions
let new_id = uuid::Builder::from_u128(id_index.clone())
let new_id = uuid::Builder::from_u128(id_index)
.into_uuid()
.as_hyphenated()
.to_string();
Expand Down

0 comments on commit 182bbbb

Please sign in to comment.