W3cubDocs

/Rust

Error code E0766

A double quote byte string (b") was not terminated.

Erroneous code example:

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

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

#![allow(unused)]
fn main() {
let s = b""; // 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/E0766.html