W3cubDocs

/Rust

Error code E0765

A double quote string (") was not terminated.

Erroneous code example:

#![allow(unused)]
fn main() {
let s = "; // error!
}

To fix this error, add the missing double quote at the end of the string:

#![allow(unused)]
fn main() {
let s = ""; // ok!
}

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/error_codes/E0765.html