We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d52b4a commit 6def722Copy full SHA for 6def722
docs/policy.md
@@ -93,7 +93,7 @@ pub mod foo {
93
pub struct FooBar { ... };
94
95
/// Some function.
96
- pub some_function() -> SomeError {
+ pub fn some_function() -> SomeError {
97
// Example error logic
98
SomeError::Foo(FooError { ... })
99
}
@@ -331,7 +331,7 @@ enum Foo {
331
332
```
333
334
-For types that do should not form a total or partial order, or that technically do but it does not
+For types that should not form a total or partial order, or that technically do but it does not
335
make sense to compare them, we use the `Ordered` trait from the
336
[`ordered`](https://crates.io/crates/ordered) crate. See `absolute::LockTime` for an example.
337
0 commit comments