Fix typos discovered by codespell

This commit is contained in:
Christian Clauss
2024-01-25 18:32:32 +01:00
parent 2b844f5cb5
commit cff2e8bbe0
12 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -574,7 +574,7 @@ impl AppContext {
}
/// Displays a platform modal for selecting a new path where a file can be saved.
/// The provided directory will be used to set the iniital location.
/// The provided directory will be used to set the initial location.
/// When a path is selected, it is relayed asynchronously via the returned oneshot channel.
/// If cancelled, a `None` will be relayed instead.
pub fn prompt_for_new_path(&self, directory: &Path) -> oneshot::Receiver<Option<PathBuf>> {
+1 -1
View File
@@ -40,7 +40,7 @@ impl Overlay {
self
}
/// Sets the position in window co-ordinates
/// Sets the position in window coordinates
/// (otherwise the location the overlay is rendered is used)
pub fn position(mut self, anchor: Point<Pixels>) -> Self {
self.anchor_position = Some(anchor);