<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/parse, branch arti-v1.1.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-11-18T15:19:54Z</updated>
<entry>
<title>Fix a couple of rustdoc issues.</title>
<updated>2022-11-18T15:19:54Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-18T15:19:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=829cb708e2c3b7b3fd96df16e69bd5b766db0828'/>
<id>urn:sha1:829cb708e2c3b7b3fd96df16e69bd5b766db0828</id>
<content type='text'>
These slipped in while nightly was broken.
</content>
</entry>
<entry>
<title>Fix a bunch of "needless borrow" warnings on nightly</title>
<updated>2022-11-18T15:12:05Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-18T15:12:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d51162e55b19036528b4fafc1d4b15c8d9d23a04'/>
<id>urn:sha1:d51162e55b19036528b4fafc1d4b15c8d9d23a04</id>
<content type='text'>
It looks like, despite a few false starts, they've got this warning
right; there weren't any false positives.
</content>
</entry>
<entry>
<title>Replace `Option&lt;Pos&gt;` with `Pos` in `ParseError`.</title>
<updated>2022-11-15T21:58:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-15T21:58:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=39615516fd30f5aa8da6ece97b6c5a0fdb9d8f9e'/>
<id>urn:sha1:39615516fd30f5aa8da6ece97b6c5a0fdb9d8f9e</id>
<content type='text'>
We already have `Pos::Unknown` for an error at an unknown
location and `Pos::None` for an error where no location is
sensible. There's no reason to have an additional `Option` here.

Additionally, the use of `Option` gave us a bug where our old
`ParseError::at_pos()` method didn't actually set the position
unless the position was already set.  That's not what we want!

Fixes #640.

Finally, we have to fix a test that was a bit broken because it was
working around #640.
</content>
</entry>
<entry>
<title>Resolve a dead-code warning.</title>
<updated>2022-11-15T18:53:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-15T18:51:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2bd422663e531eb1c6c54bdeda6263a3751a115e'/>
<id>urn:sha1:2bd422663e531eb1c6c54bdeda6263a3751a115e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netdoc: Allow empty lines at the end of a router descriptor.</title>
<updated>2022-11-15T16:27:43Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-15T16:17:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=89be0464661ec53e4f800ff6b5ccb5e0b1744ab6'/>
<id>urn:sha1:89be0464661ec53e4f800ff6b5ccb5e0b1744ab6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Add a new ErrorKind for EmptyLine.</title>
<updated>2022-11-15T16:27:43Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-15T16:01:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bc7780bffd218699a4869eb76f97595a4f0cbc8d'/>
<id>urn:sha1:bc7780bffd218699a4869eb76f97595a4f0cbc8d</id>
<content type='text'>
Empty lines were previously reported as BadKeyword, which is
confusing.
</content>
</entry>
<entry>
<title>Fix some rustdoc errors.</title>
<updated>2022-10-13T13:08:46Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-10-13T13:08:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8f267ba1661eb5a5b8ea891ed97289e08a1e8ec4'/>
<id>urn:sha1:8f267ba1661eb5a5b8ea891ed97289e08a1e8ec4</id>
<content type='text'>
In addition to the usual "You named that method wrong!" errors, we
have a new rustdoc error that complains about bogus "HTML tags" that
are actually unquoted usage of types like `Result&lt;Foo&gt;`.
</content>
</entry>
<entry>
<title>Replace `base64` crate with `base64ct` crate</title>
<updated>2022-06-22T01:02:33Z</updated>
<author>
<name>Arturo Marquez</name>
<email>arturomf94@gmail.com</email>
</author>
<published>2022-06-22T01:02:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6536ca0f61b329670a6c1b4cbaa5965f7659f849'/>
<id>urn:sha1:6536ca0f61b329670a6c1b4cbaa5965f7659f849</id>
<content type='text'>
Note: the `base64ct` crate rejects invalid characters when the
decoding is done on padded strings. However, the `FromStr` impl
for `B64` can have both padded **and** unpadded inputs, so all
inputs are now padded first, before decoding.
</content>
</entry>
<entry>
<title>Add one more "allow" to tor_netdoc::parse::macros.</title>
<updated>2022-06-15T15:52:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-14T19:38:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bd9bd39ef3e946695ac8a42764cd0736c8d84ec5'/>
<id>urn:sha1:bd9bd39ef3e946695ac8a42764cd0736c8d84ec5</id>
<content type='text'>
Without this, clippy is error-free, but `cargo test` somehow gives a
warning.
</content>
</entry>
<entry>
<title>Netdoc: test enforcement for items that mustn't take objects.</title>
<updated>2022-06-07T16:45:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-26T17:59:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=97c8c27514d390f296bb9b4bf3ef08eea729d57d'/>
<id>urn:sha1:97c8c27514d390f296bb9b4bf3ef08eea729d57d</id>
<content type='text'>
Found via coverage.
</content>
</entry>
</feed>
