Skip to content

Commit c3f6550

Browse files
hvitvedCopilot
andauthored
Update rust/ql/test/library-tests/type-inference/main.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 538538d commit c3f6550

File tree

1 file changed

+1
-1
lines changed
  • rust/ql/test/library-tests/type-inference

1 file changed

+1
-1
lines changed

rust/ql/test/library-tests/type-inference/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,7 @@ mod method_call_type_conversion {
11091109
println!("{:?}", x7);
11101110

11111111
let x9 : String = "Hello".to_string(); // $ type=x9:String
1112-
// Implicit `String` -> `str` conversion happense via the `Deref` trait:
1112+
// Implicit `String` -> `str` conversion happens via the `Deref` trait:
11131113
// https://doc.rust-lang.org/std/string/struct.String.html#deref.
11141114
let u = x9.parse::<u32>(); // $ method=parse type=u:T.u32
11151115
}

0 commit comments

Comments
 (0)