diff options
author | Björn Gustavsson <[email protected]> | 2016-04-01 12:02:39 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-04-01 12:02:39 +0200 |
commit | e31c6633233dc996d2ead18b479458b20e6ee5e8 (patch) | |
tree | 837307ec5b3ba0112d448637a37dd401cd6178ab /lib/kernel/src/code.erl | |
parent | 6d905fa0c6be1f70e0c562b909bc49ca402b3e67 (diff) | |
parent | 20ca1514787110037079e39bd10f00e0e3957ea7 (diff) | |
download | otp-e31c6633233dc996d2ead18b479458b20e6ee5e8.tar.gz otp-e31c6633233dc996d2ead18b479458b20e6ee5e8.tar.bz2 otp-e31c6633233dc996d2ead18b479458b20e6ee5e8.zip |
Merge branch 'bjorn/kernel/doc'
* bjorn/kernel/doc:
code: Remove 'bad_path' error code from set_path/1
Update Kernel documentation
Diffstat (limited to 'lib/kernel/src/code.erl')
-rw-r--r-- | lib/kernel/src/code.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/code.erl b/lib/kernel/src/code.erl index 0882cb170c..d1cb47f6ea 100644 --- a/lib/kernel/src/code.erl +++ b/lib/kernel/src/code.erl @@ -258,7 +258,7 @@ is_sticky(Mod) when is_atom(Mod) -> call({is_sticky,Mod}). -spec set_path(Path) -> 'true' | {'error', What} when Path :: [Dir :: file:filename()], - What :: 'bad_directory' | 'bad_path'. + What :: 'bad_directory'. set_path(PathList) when is_list(PathList) -> call({set_path,PathList}). -spec get_path() -> Path when |