Skip to content

Commit c899a6a

Browse files
committed
Fix old clippy issue
1 parent ca637fb commit c899a6a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/graph/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ impl<CT: ComponentType> Graph<CT> {
382382

383383
fn get_cached_node_id_from_name(
384384
&self,
385-
node_name: Cow<String>,
385+
node_name: Cow<str>,
386386
cache: &mut CLruCache<String, Option<NodeID>>,
387387
) -> Result<Option<NodeID>> {
388388
if let Some(id) = cache.get(node_name.as_ref()) {

0 commit comments

Comments
 (0)