syntactic changes: remove unneeded paths when the type is already imported

This commit is contained in:
Jorge López
2025-01-18 18:29:12 +01:00
parent a48c9033e2
commit 86a4714711
26 changed files with 263 additions and 292 deletions

View File

@@ -337,7 +337,7 @@ impl Limbo {
.map_err(|e| e.to_string())
}
fn display_in_memory(&mut self) -> std::io::Result<()> {
fn display_in_memory(&mut self) -> io::Result<()> {
if self.opts.db_file == ":memory:" {
self.writeln("Connected to a transient in-memory database.")?;
self.writeln("Use \".open FILENAME\" to reopen on a persistent database")?;
@@ -345,7 +345,7 @@ impl Limbo {
Ok(())
}
fn show_info(&mut self) -> std::io::Result<()> {
fn show_info(&mut self) -> io::Result<()> {
let opts = format!("{}", self.opts);
self.writeln(opts)
}