Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wp-file-.../lib/codemirr.../mode/rust
File: index.html
<!doctype html>
[0] Fix | Delete
[1] Fix | Delete
<title>CodeMirror: Rust mode</title>
[2] Fix | Delete
<meta charset="utf-8"/>
[3] Fix | Delete
<link rel=stylesheet href="../../doc/docs.css">
[4] Fix | Delete
[5] Fix | Delete
<link rel="stylesheet" href="../../lib/codemirror.css">
[6] Fix | Delete
<script src="../../lib/codemirror.js"></script>
[7] Fix | Delete
<script src="../../addon/mode/simple.js"></script>
[8] Fix | Delete
<script src="rust.js"></script>
[9] Fix | Delete
<style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
[10] Fix | Delete
<div id=nav>
[11] Fix | Delete
<a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a>
[12] Fix | Delete
[13] Fix | Delete
<ul>
[14] Fix | Delete
<li><a href="../../index.html">Home</a>
[15] Fix | Delete
<li><a href="../../doc/manual.html">Manual</a>
[16] Fix | Delete
<li><a href="https://github.com/codemirror/codemirror">Code</a>
[17] Fix | Delete
</ul>
[18] Fix | Delete
<ul>
[19] Fix | Delete
<li><a href="../index.html">Language modes</a>
[20] Fix | Delete
<li><a class=active href="#">Rust</a>
[21] Fix | Delete
</ul>
[22] Fix | Delete
</div>
[23] Fix | Delete
[24] Fix | Delete
<article>
[25] Fix | Delete
<h2>Rust mode</h2>
[26] Fix | Delete
[27] Fix | Delete
[28] Fix | Delete
<div><textarea id="code" name="code">
[29] Fix | Delete
// Demo code.
[30] Fix | Delete
[31] Fix | Delete
type foo<T> = int;
[32] Fix | Delete
enum bar {
[33] Fix | Delete
some(int, foo<float>),
[34] Fix | Delete
none
[35] Fix | Delete
}
[36] Fix | Delete
[37] Fix | Delete
fn check_crate(x: int) {
[38] Fix | Delete
let v = 10;
[39] Fix | Delete
match foo {
[40] Fix | Delete
1 ... 3 {
[41] Fix | Delete
print_foo();
[42] Fix | Delete
if x {
[43] Fix | Delete
blah().to_string();
[44] Fix | Delete
}
[45] Fix | Delete
}
[46] Fix | Delete
(x, y) { "bye" }
[47] Fix | Delete
_ { "hi" }
[48] Fix | Delete
}
[49] Fix | Delete
}
[50] Fix | Delete
</textarea></div>
[51] Fix | Delete
[52] Fix | Delete
<script>
[53] Fix | Delete
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
[54] Fix | Delete
lineNumbers: true,
[55] Fix | Delete
lineWrapping: true,
[56] Fix | Delete
indentUnit: 4,
[57] Fix | Delete
mode: "rust"
[58] Fix | Delete
});
[59] Fix | Delete
</script>
[60] Fix | Delete
[61] Fix | Delete
<p><strong>MIME types defined:</strong> <code>text/x-rustsrc</code>.</p>
[62] Fix | Delete
</article>
[63] Fix | Delete
[64] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function