remove asserts; return result objects (#45)

* remove asserts; return result objects

* bump version

* clippy
This commit is contained in:
Srinath Setty
2022-05-04 08:20:57 +05:30
committed by GitHub
parent c9cdb0a5e7
commit 6722e6c6ad
10 changed files with 84 additions and 122 deletions

View File

@@ -10,7 +10,7 @@ use merlin::Transcript;
fn print(msg: &str) {
let star = "* ";
println!("{:indent$}{}{}", "", star, msg.to_string(), indent = 2);
println!("{:indent$}{}{}", "", star, msg, indent = 2);
}
pub fn main() {

View File

@@ -9,7 +9,7 @@ use merlin::Transcript;
fn print(msg: &str) {
let star = "* ";
println!("{:indent$}{}{}", "", star, msg.to_string(), indent = 2);
println!("{:indent$}{}{}", "", star, msg, indent = 2);
}
pub fn main() {