Skip to content

Commit

Permalink
client: improve doc formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Twey committed Nov 26, 2024
1 parent 026888c commit 7d71b26
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use serde::ser::Serialize as _;
use wasm_bindgen::prelude::*;
use web_sys::{js_sys, wasm_bindgen};

// TODO(12): convert to IndexedDbStore once we refactor Context
// TODO(#12): convert to IndexedDbStore once we refactor Context
type WebStorage =
linera_storage::DbStorage<linera_views::memory::MemoryStore, linera_storage::WallClock>;

Expand Down Expand Up @@ -93,9 +93,9 @@ impl JsWallet {
}
}

/// The full client API, exposed to the wallet implementation. Calls
/// The full client API, exposed to the wallet implementation. Calls
/// to this API can be trusted to have originated from the user's
/// request. This struct is the backend for the extension itself
/// request. This struct is the backend for the extension itself
/// (side panel, option page, et cetera).
#[wasm_bindgen]
#[derive(Clone)]
Expand All @@ -107,7 +107,7 @@ pub struct Client {
}

/// The subset of the client API that should be exposed to application
/// frontends. Any function exported here with `wasm_bindgen` can be
/// frontends. Any function exported here with `wasm_bindgen` can be
/// called by untrusted Web pages, and so inputs must be verified and
/// outputs must not leak sensitive information without user
/// confirmation.
Expand Down

0 comments on commit 7d71b26

Please sign in to comment.