Skip to content

Commit 6def722

Browse files
authored
docs: fix syntax errors and grammar in policy.md
1 parent 8d52b4a commit 6def722

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/policy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ pub mod foo {
9393
pub struct FooBar { ... };
9494

9595
/// Some function.
96-
pub some_function() -> SomeError {
96+
pub fn some_function() -> SomeError {
9797
// Example error logic
9898
SomeError::Foo(FooError { ... })
9999
}
@@ -331,7 +331,7 @@ enum Foo {
331331
}
332332
```
333333

334-
For types that do should not form a total or partial order, or that technically do but it does not
334+
For types that should not form a total or partial order, or that technically do but it does not
335335
make sense to compare them, we use the `Ordered` trait from the
336336
[`ordered`](https://crates.io/crates/ordered) crate. See `absolute::LockTime` for an example.
337337

0 commit comments

Comments
 (0)