Skip to content

Commit

Permalink
Fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaReiser committed Jun 4, 2024
1 parent 82c5f17 commit 8f75726
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
24 changes: 0 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions crates/red_knot/src/types/infer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ fn infer_expr_type(db: &dyn SemanticDb, file_id: FileId, expr: &ast::Expr) -> Qu

#[cfg(test)]
mod tests {
use textwrap::dedent;

use crate::db::tests::TestDb;
use crate::db::{HasJar, SemanticJar};
Expand Down Expand Up @@ -251,7 +250,7 @@ mod tests {

fn write_to_path(case: &TestCase, relpath: &str, contents: &str) -> anyhow::Result<()> {
let path = case.src.path().join(relpath);
std::fs::write(path, dedent(contents))?;
std::fs::write(path, contents)?;
Ok(())
}

Expand Down

0 comments on commit 8f75726

Please sign in to comment.