Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Pushkar Mishra <[email protected]>
  • Loading branch information
Pushkarm029 committed Dec 24, 2024
1 parent b469c6b commit 4741ab6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion data-link/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ impl<Id: ResourceId> Link<Id> {
pub fn get_preview_synced(&self) -> Result<OpenGraph> {
let runtime =
tokio::runtime::Runtime::new().expect("Unable to create a runtime");
return runtime.block_on(self.get_preview());
runtime.block_on(self.get_preview())
}

/// Get OGP metadata of the link.
Expand Down
1 change: 0 additions & 1 deletion fs-index/src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ type IndexedPaths = HashSet<Timestamped<PathBuf>>;
/// #### Reactive API
/// - [`ResourceIndex::update_all`]: Method to update the index by rescanning
/// files and returning changes (additions/deletions/updates).
///
/// #### Snapshot API
/// - [`ResourceIndex::get_resources_by_id`]: Query resources from the index by
Expand Down

0 comments on commit 4741ab6

Please sign in to comment.