1
Fork 0

Avoid another &Lrc<..> in a return value.

This commit is contained in:
Nicholas Nethercote 2024-10-07 13:25:38 +11:00
parent 2123509351
commit 4547c0a990
3 changed files with 3 additions and 2 deletions

View file

@ -257,7 +257,7 @@ fn t10() {
);
imported_src_file.add_external_src(|| Some(unnormalized.to_string()));
assert_eq!(
imported_src_file.external_src.borrow().get_source().unwrap().as_ref(),
imported_src_file.external_src.borrow().get_source().unwrap(),
normalized,
"imported source file should be normalized"
);