Another batch of lint fixes (#36521)
- **Enable a bunch of extra lints** - **First batch of fixes** - **More fixes** Release Notes: - N/A
This commit is contained in:
parent
69b1c6d6f5
commit
6825715503
147 changed files with 788 additions and 1042 deletions
|
@ -91,7 +91,7 @@ fn convert_outputs(
|
|||
cx: &mut App,
|
||||
) -> Vec<Output> {
|
||||
outputs
|
||||
.into_iter()
|
||||
.iter()
|
||||
.map(|output| match output {
|
||||
nbformat::v4::Output::Stream { text, .. } => Output::Stream {
|
||||
content: cx.new(|cx| TerminalOutput::from(&text.0, window, cx)),
|
||||
|
|
|
@ -584,8 +584,8 @@ impl project::ProjectItem for NotebookItem {
|
|||
Ok(nbformat::Notebook::Legacy(legacy_notebook)) => {
|
||||
// TODO: Decide if we want to mutate the notebook by including Cell IDs
|
||||
// and any other conversions
|
||||
let notebook = nbformat::upgrade_legacy_notebook(legacy_notebook)?;
|
||||
notebook
|
||||
|
||||
nbformat::upgrade_legacy_notebook(legacy_notebook)?
|
||||
}
|
||||
// Bad notebooks and notebooks v4.0 and below are not supported
|
||||
Err(e) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue