minor fixes

This commit is contained in:
Anton-4 2023-08-11 16:14:33 +02:00
parent 254226f067
commit 954f687666
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937
3 changed files with 6 additions and 6 deletions

View file

@ -1286,7 +1286,7 @@ mod ability {
Exact(u32),
}
/// Parses an ability demand like `hash : a -> U64 | a implements Hash`, in the context of a larger
/// Parses an ability demand like `hash : a -> U64 where a implements Hash`, in the context of a larger
/// ability definition.
/// This is basically the same as parsing a free-floating annotation, but with stricter rules.
pub fn parse_demand<'a>(