Skip to content

Commit 08d8c01

Browse files
authored
Small fixes (#286)
* Fix copy pasted doc string * Remove dead code
1 parent b8129d7 commit 08d8c01

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

crates/planus-cli/src/app/view.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use std::{path::PathBuf, process::ExitCode};
33
use clap::{Parser, ValueHint};
44
use color_eyre::Result;
55

6-
/// Check validity of .fbs files
6+
/// View a binary file with a schema in the TUI viewer
77
#[derive(Parser)]
88
pub struct Command {
99
#[clap(value_hint = ValueHint::FilePath)]

crates/planus/src/impls/result.rs

-14
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
11
use crate::traits::{VectorRead, VectorReadInner};
22

3-
/*
4-
impl<T: ToOwned, E> ToOwned for core::result::Result<T, E>
5-
where
6-
errors::Error: From<E>,
7-
{
8-
type Value = T::Value;
9-
10-
#[inline]
11-
fn to_owned(self) -> crate::Result<Self::Value> {
12-
self?.to_owned()
13-
}
14-
}
15-
*/
16-
173
impl<'buf, T: VectorReadInner<'buf>, E: 'buf> VectorRead<'buf> for Result<T, E>
184
where
195
E: core::convert::From<T::Error>,

0 commit comments

Comments
 (0)