Skip to content

Commit 47c8a3d

Browse files
committed
Simplify to std::io::Result
1 parent fd1f8b2 commit 47c8a3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/src/dbscheme.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ pub fn escape_name(name: &str) -> String {
102102
}
103103

104104
/// Generates the dbscheme by writing the given dbscheme `entries` to the `file`.
105-
pub fn write(file: &mut dyn std::io::Write, entries: &[Entry]) -> Result<(), std::io::Error> {
105+
pub fn write(file: &mut dyn std::io::Write, entries: &[Entry]) -> std::io::Result<()> {
106106
write!(file, "// CodeQL database schema for Ruby\n")?;
107107
write!(
108108
file,

0 commit comments

Comments
 (0)