mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-22 11:53:44 +00:00
Fix tabSize doc build breakage, also remove the stray tab that got into docs.
This commit is contained in:
parent
c1157161d9
commit
e2205659e3
@ -11,6 +11,7 @@ exports.splitLines = function(string){return string.split(/\r?\n/);};
|
||||
// Counts the column offset in a string, taking tabs into account.
|
||||
// Used mostly to find indentation.
|
||||
function countColumn(string, end) {
|
||||
tabSize = 4;
|
||||
if (end == null) {
|
||||
end = string.search(/[^\s\u00a0]/);
|
||||
if (end == -1) end = string.length;
|
||||
|
@ -351,7 +351,7 @@ Examples of integer literals of various forms:
|
||||
~~~~
|
||||
123; 0xff00; // type determined by program context;
|
||||
// defaults to int in absence of type
|
||||
// information
|
||||
// information
|
||||
|
||||
123u; // type uint
|
||||
123_u; // type uint
|
||||
|
Loading…
Reference in New Issue
Block a user