Skip to content

Commit 798b3eb

Browse files
quantpoetdlon
authored andcommitted
Fix some typos in comment
1 parent de5966a commit 798b3eb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

system-configuration/src/dynamic_store.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ impl SCDynamicStoreBuilder<()> {
7575
}
7676

7777
impl<T> SCDynamicStoreBuilder<T> {
78-
/// Set wether or not the created [`SCDynamicStore`] should have session keys or not.
78+
/// Set whether or not the created [`SCDynamicStore`] should have session keys or not.
7979
/// See [`SCDynamicStoreCreateWithOptions`] for details.
8080
///
8181
/// Defaults to `false`.
@@ -179,7 +179,7 @@ impl SCDynamicStore {
179179
}
180180

181181
/// Returns the keys that represent the current dynamic store entries that match the specified
182-
/// pattern. Or `None` if an error occured.
182+
/// pattern. Or `None` if an error occurred.
183183
///
184184
/// `pattern` - A regular expression pattern used to match the dynamic store keys.
185185
pub fn get_keys<S: Into<CFString>>(&self, pattern: S) -> Option<CFArray<CFString>> {
@@ -198,7 +198,7 @@ impl SCDynamicStore {
198198
}
199199

200200
/// Returns the key-value pairs that represent the current internet proxy settings. Or `None` if
201-
/// no proxy settings have been defined or if an error occured.
201+
/// no proxy settings have been defined or if an error occurred.
202202
pub fn get_proxies(&self) -> Option<CFDictionary<CFString, CFType>> {
203203
unsafe {
204204
let dictionary_ref = SCDynamicStoreCopyProxies(self.as_concrete_TypeRef());

0 commit comments

Comments
 (0)