Skip to content

Commit

Permalink
Fix typos in documentation and code comments (#4061)
Browse files Browse the repository at this point in the history
  • Loading branch information
omahs authored Oct 30, 2023
1 parent 857c8f8 commit c140b35
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion crates/re_viewer/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ impl App {
// being used in.
for source in sources {
match &*source {
// No need for a welome screen - data is coming soon!
// No need for a welcome screen - data is coming soon!
SmartChannelSource::File(_) | SmartChannelSource::RrdHttpStream { .. } => {
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion crates/re_viewer/src/saving.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fn sanitize_app_id(app_id: &ApplicationId) -> String {

#[cfg(not(target_arch = "wasm32"))]
/// Determine the default path for a blueprint based on its `ApplicationId`
/// This path should be determnistic and unique.
/// This path should be deterministic and unique.
// TODO(#2579): Implement equivalent for web
pub fn default_blueprint_path(app_id: &ApplicationId) -> anyhow::Result<std::path::PathBuf> {
use std::hash::{BuildHasher, Hash as _, Hasher as _};
Expand Down
4 changes: 2 additions & 2 deletions crates/re_viewer/src/store_hub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ impl StoreHub {
})
}

/// Keeps track if a recording was every activated.
/// Keeps track if a recording was ever activated.
///
/// This useful for the heuristic controlling the welcome screen.
/// This is useful for the heuristic controlling the welcome screen.
pub fn was_recording_active(&self) -> bool {
self.was_recording_active
}
Expand Down
2 changes: 1 addition & 1 deletion crates/re_viewer/src/web.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ fn categorize_uri(uri: &str) -> EndpointCategory {
} else if uri.starts_with("web_event:") {
EndpointCategory::WebEventListener
} else {
// If this is sometyhing like `foo.com` we can't know what it is until we connect to it.
// If this is something like `foo.com` we can't know what it is until we connect to it.
// We could/should connect and see what it is, but for now we just take a wild guess instead:
re_log::info!("Assuming WebSocket endpoint");
if uri.contains("://") {
Expand Down
2 changes: 1 addition & 1 deletion docs/content/getting-started/cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ int main() {
## Building and running
You can configure cmake, build, and run you application like so:
You can configure cmake, build, and run your application like so:
```bash
cmake -B build
cmake --build build -j
Expand Down

0 comments on commit c140b35

Please sign in to comment.