compact + kill whitespaces for 0 reason
Signed-off-by: Luong Duc Anh <[email protected]>
This commit is contained in:
1 parent
98f762d959
commit
0159219a44
1 file changed
+4
-15
@@ -1,15 +1,4 @@
|
||||
#[doc = r#"
|
||||
rust = r"""
|
||||
"#]
|
||||
fn main() {
|
||||
let (head, body) = ("#[doc = r#\"\nrust = r\"\"\"\n\"#]\nfn main() {\n let (head, body) = ", ";\n println!(\"{head}{:?}{body}{REAL}\\\"#;\", (head, body))\n}\nconst REAL: &str = r#\"");
|
||||
println!("{head}{:?}{body}{REAL}\"#;", (head, body))
|
||||
}
|
||||
const REAL: &str = r#"""
|
||||
p = """{0}
|
||||
rust = r{2}{1}{2}
|
||||
p = {2}{3}{2}
|
||||
print(p.format({0!r}, rust, {2!r}, p))
|
||||
#{2:.1}#;"""
|
||||
print(p.format('#[doc = r#"', rust, '"""', p))
|
||||
#"#;
|
||||
#[doc=r#"
|
||||
rust=r"""#]fn main(){println!("{1}{1:?},{2:?}{2}{}\"#;",REAL,"#[doc=r#\"\nrust=r\"\"\"#]fn main(){println!(\"{1}{1:?},{2:?}{2}{}\\\"#;\",REAL,",")}\nconst REAL:&str=r#\"")}
|
||||
const REAL:&str=r#""";p="""{0}
|
||||
rust=r{2}{1}{2};p={2}{3}{2};print(p.format({0!r},rust,{2!r},p))#{2:.1}#;""";print(p.format('#[doc=r#"',rust,'"""',p))#"#;
|
||||
Reference in new issue
Block a user