Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in documentation and code comments #4061

Merged
merged 5 commits into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading