Commit graph

14 commits

Author SHA1 Message Date
40014051ec Bugfix: unique()ing the list of links
That should happen _after_ they are all in the same format.
This commit introduces overhead, as we clone() each string here for
comparison and that should clearly be fixed.

Though the bug-fix is more important at this point.
2016-09-06 15:30:26 +02:00
46bf387fc3 Make internal linking only have store-relative links 2016-08-31 09:20:09 +02:00
3e4b0e4bb8 Rewrite internal link handling, returning Result<_> rather than Option<_> 2016-08-31 09:20:09 +02:00
522d73e6df Fix libimagentrylink::{error, internal}::* for new StoreId interface 2016-08-28 18:41:55 +02:00
5935d43f09 Replace map(unwrap()) with fold() 2016-08-03 11:30:23 +02:00
41bf063a71 Replace map(unwrap()) with fold() 2016-08-03 11:29:38 +02:00
80491ff0b7 Replace map(unwrap()) with fold() 2016-08-03 11:27:26 +02:00
f46e8ac597 Replace unwrap with try!() 2016-08-03 11:27:25 +02:00
29be4029da Replace complex unwrapping with big match block 2016-06-11 06:50:58 +02:00
98b39bbfa8 Use IntoError to have less noise in the error construction code 2016-05-27 10:38:35 +02:00
394b90f038 libimagentrylink: Refactor code with is_match!() macro 2016-05-23 21:43:20 +02:00
Andre Bogus
981707c9c9 more style adaptations
again following clippy
2016-05-13 22:27:53 +02:00
5d2950b7df libimagentrylink: Replace .err().unwrap() with .unwrap_err() 2016-04-20 21:45:27 +02:00
33aa56019f libimaglink -> libimagentrylink 2016-04-17 12:22:13 +02:00
Renamed from libimaglink/src/internal.rs (Browse further)